Find the bug in your interview solution by tracing it against failing cases and reasoning about where the logic breaks.
## CONTEXT When a solution fails a test case in an interview, the ability to debug calmly and systematically under pressure is itself a strong signal. Panicked candidates rewrite from scratch, while skilled ones trace the failing input, locate the divergence between expected and actual behavior, and fix the root…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro