Ctrl K
Backend · Junior · System design

How would you design a simple URL shortener, something like bit.ly?

~10 min by voice

How to approach it

The interviewer wants to see whether you can break a simple system down into scenarios, API, storage and key generation, and whether you notice the practical details: collisions, the redirect, the load being skewed toward reads, protection against abuse.

Have you seen this question in a real interview?
Answers0
Avg. score—
Strong—
Practiced0
Topics
Similar questionsСпроектируйте сервис переводов по номеру телефона между клиентами банка: от нажатия кнопки «Перевести» до зачисления денег получателю. SeniorСпроектируйте сервис лимитов: у клиента есть дневные и месячные лимиты на переводы и снятия наличных, и каждую операцию нужно проверить до проведения. SeniorDesign a search bar with autocomplete for a large marketplace: from typing a character to displaying the suggestions. SeniorДавайте спроектируем сокращатель ссылок, примерно как clck.ru: пользователь отдаёт длинный URL, получает короткий, а по короткому его перенаправляет. С чего начнёте и как это будет устроено? 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-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