I’ve said this for years: smart is not the same as interview-ready.
A PhD candidate working on AI for surgical training sat down for a practical coding interview and got a pretty approachable prompt: build an in-memory database with set, get, and delete, then extend it with timestamps and TTL.
On paper, this is not a brutal question.
In practice, it exposed the exact thing that knocks out a lot of otherwise high-potential candidates: they don’t treat the interview like a performance.
What stood out to me wasn’t lack of intelligence. It was lack of crisp execution.
Early on, the candidate did some good things:
- clarified whether tables could share keys
- asked what happens if a table doesn’t exist
- checked expected return values
- thought about API exposure and helper methods
That’s all fine. Good even.
But then the drift started.
Instead of locking onto the simplest viable implementation — nested dictionaries and move — the thinking got fuzzy. There was unnecessary exploration around hash table internals, overthinking helper methods, uncertainty around Python behaviors, and too much time spent circling implementation choices that didn’t materially move the solution forward.
That is what interviewers feel in real time.
Not “this person is dumb.” More like: “I’m not confident they can drive.”
And that distinction matters.
In coding interviews, I’m not grading your ceiling. I’m grading whether you can:
- clarify requirements fast
- choose a reasonable structure
- implement without self-sabotage
- preserve working code as requirements evolve
- test the critical paths
- recover cleanly when you get nudged
The TTL extension was where the performance gap widened.
This is the kind of follow-up that rewards candidates who build with change in mind. If your first version is clean, adding timestamp-aware reads and expirations is manageable. If your first version is already wobbly, the extension turns into live surgery.
The candidate started wrestling with design direction midstream:
- new class vs modifying the existing one
- tuple storage for value/timestamp/duration
- soft delete vs hard delete
- default timestamp handling
- duplicated expiration checks across methods
Again, none of these thoughts are crazy. The problem was they were happening too late and too noisily.
That’s what a lot of engineers miss about mock interviews.
You are not being judged only on whether you eventually stumble into a working answer.
You are being judged on whether your thought process creates confidence.
Confidence comes from moves like:
- “I’ll store each table as a dict.”
- “Each key maps to value metadata.”
- “Part 1 must still pass, so I won’t break the original contract.”
- “I’ll centralize expiration logic in one helper.”
- “Now I’ll test missing key, overwrite, expired read, expired delete.”
That sounds boring.
Boring gets offers.
I’ve placed 200+ candidates into FAANG and adjacent companies. The ones who convert are rarely the ones doing the most complicated thinking out loud. They’re the ones who make the interviewer relax.
That is a skill. Not luck. Not vibes. Not “being naturally good at interviews.”
A few hard truths from this one:
1. Simplicity is a weapon.
If the language gives you a dictionary, use the dictionary. Don’t audition for “I understand hash maps” when nobody asked.
2. Preserve momentum.
Once part 1 works, protect it. Extensions should layer on top, not force a rewrite because your first pass was flimsy.
3. Don’t narrate every branch of your internal debate.
Interviewers want signal, not a live stream of every possible implementation path in your head.
4. Testing is part of the performance.
Not just “it runs.” I want to see deliberate checks for failure cases, overwrite behavior, and expiration semantics.
5. Pressure reveals habits.
When candidates get messy under pressure, that usually isn’t a one-off. It’s how they prep.
And this is why I’m so aggressive about mocks.
Because most people are not failing due to a knowledge problem. They’re failing due to a delivery problem.
They know enough. They just can’t package it under time pressure.
If you’re preparing right now, stop asking, “Would I have known the answer?”
Start asking:
Would I have driven that interview in a way that made someone want to hire me?
That’s the real question.
And if the answer is no, good. Better to find that out in practice than in front of a hiring panel.