AlgoViz

Driving deep dives

easy 30 min

Fifteen minutes, two hard parts.

See it run

Find the hard part, walk it to a decision, then break it with a number.

Operations

Find the hard part

The school bus tracker works end to end. Four questions find what deserves depth.

Step 1 of 4

Which target is missed?

AskSchool bus tracker
Missed target?20,000 watch at 7:45
Not plain CRUD?
Many on one?
Worst if wrong?

20,000 parents open the app around 7:45. The simple version asks the database for each one.

Step 1: Which target is missed?

When
One minute
You leave with
Two dives to offer

If all four answers point at one part, that part is the whole interview.

In the real world

The same driving deep dives doing real jobs. Pick one and step through it.

What is the interviewer pointing at? Decide, then press next.

Step 1 of 10

Hint 1

They sayYou do
"Are you sure?"?

You said the cache makes it correct. "Are you sure?"

Step 1: Hint 1

Common mistakes

The bugs interviewers watch for, with the fix beside each.

  • Diving before it works

    critical

    A perfect part of an unfinished system is still unfinished.

    Wrong
    "Let me explain leases first." (minute 14)
    Right
    "I will note leases and finish the path."
  • Options with no choice

    major

    Depth ends in a decision.

    Wrong
    "You could do any of these three."
    Right
    "The third. It costs 25 seconds of waiting."
  • A failure with no number

    major

    Without the load you cannot say what breaks next.

    Wrong
    "The database would take over."
    Right
    "5,000 reads a second would land there, so..."
  • Missing the hint

    major

    The interviewer knows where the marks are.

    Wrong
    "As I was saying about the cache..."
    Right
    "You are pointing at the retry. Let me look."

Interview tips

  • Offer

    • Two parts.
    • One recommendation.
    • A question and a time.
  • Drill

    • What stops?
    • Where does the load go?
    • Who notices?
    • How does it recover?
  • Stuck

    • Say it back with its number.
    • Two users, one item.
    • Slow and correct first.
  • Avoid

    • Five small dives.
    • The part you rehearsed.
    • Silence between questions.