Debug and Explain Fixes
BrexSoftware Engineer · Technical ScreenLast updated
This question evaluates a candidate's debugging and root-cause analysis skills, familiarity with unit testing and regression prevention, and ability to modify a small codebase to fix defects within the coding and algorithms domain.
Given a small codebase with failing unit tests, identify the root causes of the failures, fix the bugs, and explain the defects you found. Add minimal tests to prevent regressions and describe your debugging strategy and the tools you used.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.