Interview Problems

Real-world system design questions asked at top tech companies.

#ProblemCategoryDescriptionDifficulty
1URL ShortenerStorage + HashingDesign a service to shorten long URLs, redirect users, and track analytics. Easy
2Rate LimiterThrottlingLimit API requests per user or IP within a sliding time window. Easy
3Key-Value StoreStorageDesign a distributed in-memory store like Redis with get/set/delete and TTL. Easy
4Twitter / News FeedSocial / Fan-outGenerate and serve a personalized timeline using fan-out on write or read. Medium
5WhatsApp MessagingMessagingReal-time 1-1 and group chat with delivery receipts and offline support. Medium
6Search AutocompleteSearchReturn top-k query suggestions in real time as the user types. Medium
7Notification SystemAsync / Fan-outSend email, SMS, and push notifications at scale with reliability. Medium
8YouTube / Video StreamingMedia / CDNUpload, transcode, and stream video globally with adaptive bitrate delivery. Hard
9Uber / Ride SharingGeo / MatchingMatch riders to nearby drivers in real time using geospatial indexing. Hard
10Web CrawlerDistributed / QueueCrawl the entire web at scale with URL deduplication and politeness policies. Hard
11Stock ExchangeLow Latency / MatchingOrder matching engine with microsecond latency and strict ordering guarantees. Hard