The first five minutes of a coding interview decide how the next forty feel.
- Repeat the problem in your own words.
- Ask about input size and edge cases: empty input, duplicates, negative numbers.
- Give a brute-force idea and its complexity before optimising.
- Agree the approach with the interviewer, then start typing.
While you code, narrate decisions, not keystrokes: "I will keep a dictionary of counts so the window check is O(1)".