Find and fix bugs in real code. Learn by doing.
This function should print numbers 1 to 10, but something is wrong.
This program should count down from 5 to 1, but it never stops.
This function should return the average of a list, but it always returns 0.
This Java code crashes with a NullPointerException. Find and fix the bug.
This bubble sort implementation has a logic error. It does not sort correctly.
This C++ code allocates memory but never frees it. Fix the memory leak.
Select a Challenge
Choose a debugging challenge from the list to get started.