Ctrl K
Frontend · Senior · System design

Design a search bar with autocomplete for a large marketplace: from typing a character to displaying the suggestions.

~10 min by voice

How to approach it

The interviewer wants to see whether you can design a frontend feature end to end: the network and request races, caching, UI states, accessibility, security and metrics. It's not enough to "slap on a debounce"; you need to show that you see every bottleneck on the path from a keypress to a suggestion appearing.

Have you seen this question in a real interview?
Answers0
Avg. score—
Strong—
Practiced0
Topics
Similar questionsСпроектируйте сервис переводов по номеру телефона между клиентами банка: от нажатия кнопки «Перевести» до зачисления денег получателю. SeniorСпроектируйте сервис лимитов: у клиента есть дневные и месячные лимиты на переводы и снятия наличных, и каждую операцию нужно проверить до проведения. SeniorСпроектируйте поисковые подсказки: пользователь набирает в строке Яндекса первые буквы, и за десятки миллисекунд под строкой появляются варианты продолжения запроса. Как это построить? Mid-levelWalk me through how you structure your answer in a system design interview: where do you start, what questions do you ask, and how do you estimate the load? Mid-levelExplain the cache-aside strategy: how data is read and written, how you deal with stale data, and what happens when lots of keys expire at once. Mid-level

Answer by voice

The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.

Sign in to answer

Best with headphones · ~10 min