Leadership & behavioural · Write code
Code-review and debugging rounds
Practise this out loud
Say your answer out loud to an AI interviewer that follows up, and get a score for it.
Practise by voiceThe interviewer asks
"Here's a teammate's pull request in the stack you work in. Review it like a real PR." Or: "This app has bugs and four failing tests. Fix them while thinking aloud."
Then
Follow-ups the interviewer asks next
- Prioritise: what blocks merge vs what's a nit?
- How would you phrase this comment to a junior?
- Fix the top issue live.
- What test would have caught it?
The answer
What a strong answer covers
- Correctness first:
- logic and edge cases (empty input, nulls, limits)
- error handling: no swallowed errors, clear failure paths
- races, shared state and resource leaks (connections, files, subscriptions)
- data consistency: transactions, retries that are safe to repeat
- Then security (injection, XSS, secrets in code, missing auth checks), performance (N+1 queries, needless work in loops or renders, large payloads), accessibility for UI code, then readability and tests.
- When debugging: reproduce, read the error and stack, narrow down (bisect, console, DevTools), fix, add a regression test.
- Communicate kindly and specifically, with suggested code.
The red pen
Common traps
Avoid:style nits first; silently rewriting everything.
Practise this out loud
Say your answer out loud to an AI interviewer that follows up, and get a score for it.
Practise by voicePractise questions like this out loud
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.