| Approach | Notes |
|---|---|
| Test-case driven debugging | Running mental (or written) test cases against the buggy code can help surface incorrect outputs, but may be slow in an interview setting and may miss subtle aliasing or truncation bugs without careful edge-case selection. |