Lesson 11 of 21
1. How to Approach a Design Question

1.10 How do you choose what to deep dive into?

3 min read+10 XP

At the architect's desk: After the floor plan, the architect zooms in. Not on the paint colour, but on the part most likely to fail or most expensive to get wrong: the staircase in a narrow house, the beams in an earthquake zone.

In the interview: The deep dive is where you take one part of the design and solve it properly. Pick the part that's hardest or riskiest given this problem's numbers. Good signals:

  • The bottleneck: the component under the most load. (URL shortener: thousands of redirects per second hitting storage.)
  • The tricky correctness problem: where it's easy to be subtly wrong. (URL shortener: two links must never get the same code.)
  • The thing the interviewer keeps asking about. That's a hint. Follow it.

A strong move: offer a choice. "I think the two hard parts are generating unique codes and keeping redirects fast. Which would you like me to go deeper on?" It shows you see both, and it lets the interviewer steer you to what they score.

Memory code: "Dive where it hurts." Go deep on the bottleneck or the tricky part, not on the paint.