No. 08 · Search & ranking
Design search autocomplete
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further reading
At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.
- Design Typeahead / Autocomplete
Full written design: trie with precomputed top-K per node, offline rebuilds swapped in atomically, prefix sharding, client debouncing and a small layer for trending terms. Personalization and typo tolerance are only mentioned.
Link checked 2026-12-06
- Typeahead Suggestion + Google Search Bar | Systems Design Interview Questions With Ex-Google SWE
Long whiteboard video that weighs client-side versus server-side suggestion, walks through trie updates and talks about rebalancing hot prefix partitions. Rambling in places, but the trade-off reasoning is solid.
Link checked 2026-12-06
- The Life of a Typeahead Query
How Facebook served typeahead in 2010: prefetching a user's connections into the browser cache, then a stateless aggregator fanning out to several prefix-matching services. Older, and about personal entities rather than global query popularity.
Link checked 2026-12-06
- Suggesters (term, phrase, completion, context)
Docs for the completion suggester and its prefix and context options. Useful if you want to propose an off-the-shelf engine instead of a custom trie; says nothing about ranking pipelines or scale.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 2 of 3 links from the audited catalog kept
- medium.com/double-pointer/system-design-interview-autocomplete-type-ah Affiliate-heavy summary of the standard trie answer; the System Design School page covers the same ground more carefully.
We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.
COMPANY EVIDENCE · NOT A FREQUENCY CLAIM
Where it has been reported
Candidate reports
- Candidate report Meta (Facebook)
- IC5/E5 frontend candidate in London says the system design round was to design an autocomplete widget (frontend variant of the question). · posted 2024-04-15 · checked 2026-12-06
- Candidate report Oracle (OCI)
- OCI SDE-3 candidate reports a design interview asking for e-commerce search autocomplete suggestions (typeahead). · posted 2021-12-10 · checked 2026-12-06
Catalog tags (unverified)
GoogleExpediaBloombergPinterestApple
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING