Medium
Google
Broken Codebase Triage AI-Assisted Coding Interview
Read a small flawed module, identify multiple defects, repair it, and leave concise review-style explanations while treating AI feedback as a hypothesis.
1. Problem Statement
Review the invoice module, identify every correctness issue you can find, fix it, and explain each change as if commenting on a pull request.
2. Live Coding Format
Work in the provided coding workspace while explaining your decisions to the live interviewer. Validation may use inline tests, examples, comments, or a verbal walkthrough.
3. Key Focus Areas
- 1Code reading
- 2Bug hypothesis formation
- 3Fix correctness
- 4Review communication
- 5Assistant skepticism
4. What Strong Candidates Should Demonstrate
- ✓Infer a function contract from code and call-site-style examples.
- ✓Find more than one defect instead of stopping after the first plausible fix.
- ✓Use an assistant as a second opinion and validate its explanation.
Want interactive feedback?
Practice this problem in the live coding workspace while the interviewer probes your clarification, implementation, trade-offs, and validation.
Start InterviewCore Concepts
Code ComprehensionDebuggingReview CommentsAI Output Validation
