DSA Tracker

System design

Design search autocomplete

Design the suggestions shown under a search box as the user types.

SDE-1Beta

Clarify

Step 1 of 5
about 5 min

Real rounds start with questions, not boxes. Write what you would ask the interviewer, then see what they would answer.

What the interviewer tells you

  • Return top suggestions for a prefix within tens of milliseconds
  • Suggestions ranked by popularity, optionally personalised
  • Fresh enough to show trending queries
  • Filter inappropriate suggestions
Step 1 of 5