Design a Scene Similarity System
An engineer working on the driver hits a rare failure. Say the planner hesitates behind a cyclist walking a bike across a crosswalk. The engineer wants every other time the fleet saw something like it. The match is the same situation, at any location and any timestamp. That request is the whole problem. You are handed petabytes of recorded driving and asked to return the scenes that resemble a given one. It has to be fast enough that the engineer keeps working instead of filing a batch job and coming back tomorrow.
Say plainly why the obvious approaches fail, because ruling them out is what points at the real design. You cannot grep it: the interesting signal lives in camera pixels, lidar returns, and agent trajectories, not in text tags someone remembered to write. You cannot scan it: the corpus is far too large to compare a query against every scene per request. And you cannot hand-label your way out, because there is no finite list of scene types to bucket into, and the situations that matter most are the rare ones nobody thought to name. So the design has two halves that reinforce each other. A model that maps a scene to a vector where near means similar, and an index that finds the near vectors without touching the rest of the corpus.
- 1 problem, worked step by step
- 1 diagram
- about 24 min
Premium lessonWaymo interview guide
These took digging.
What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.
100 companies. Checked every month.
Unlock all 100 companies$49 a year · less than $1 a week · Cancel anytime
Waymo interview guideKnow what Waymo asks before you walk in.
9 coding · 3 system design · 15 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.