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.