Practice coding with feedback from real test cases
Choose a roadmap topic or a problem at your level. Write your function, run the examples, and submit against additional tests.
Debugging investigations introduce existing code with a regression. Reproduce the failure, trace its cause, and repair the smallest responsible change.