practice
Drills
Ten quick questions at a time. No timer, no pressure: each answer explains itself. A few rounds a day build the reflexes that make the first five minutes of an interview feel calm.
- 01Spot the patternRead a problem, pick the pattern. The first two minutes of every interview, practised on repeat.Trains: Turning a scary statement into a known technique before you write any code.
- 02Name the complexityLook at a real solution and say its time complexity, like the interviewer will ask you to.Trains: Answering "what's the time complexity?" calmly, with the reason, not a guess.
- 03Java gotchasTiny snippets, one question: what does this print? The Java traps that quietly fail hidden tests.Trains: Seeing Integer caching, overflow, char maths and collection traps before they cost you a round.
- 04Spot the bugA known problem, a solution that looks right, one wrong line. Tap the line, then see the fix.Trains: Dry-running your own code like a reviewer: off-by-ones, wrong pointers, missing edge cases.