System Design Questions

Practice system design interview questions.

CompletedInterview ProblemCompaniesDifficultySolutionStart Practice
easy
Design LeetCode
Design a coding contest platform like LeetCode.
A
M
2 companies
easySolutionSolution
easy
Design URL Shortener
Design a URL Shortener service like bit.ly <div class="responsive-iframe"> <iframe width="560" height="315" src="https://www.youtube.com/embed/qSJAvd5Mgio" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> </div>
M
H
G
+3
6 companies
easySolutionSolution
easy
Design Webhook
Design a webhook service that processes incoming requests and ensures efficient, secure handling of real-time events, such as payment notifications from services like Stripe or Shopify. If you prefer the video format, here's a walkthrough of the problem: <iframe width="560" height="315" src="https://www.youtube.com/embed/4C9SVQVmUxs?si=VLTgs_oXCJf3TbI7" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
U
O
2 companies
easySolutionSolution
medium
Design a Collaborative Editing System like Google Docs
Design a collaborative editing system like Google Docs. <div class="responsive-iframe"> <iframe width="560" height="315" src="https://www.youtube.com/embed/9JKBlkwg0yM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> </div>
G
1 company
mediumSolutionSolution
hard
Design Spotify Top K Songs
Design a system to find the top k heavy hitters in a stream of data. This could be - the top k most played songs in a music streaming service like Spotify - the top k most viewed videos on a video streaming service like YouTube - the top k most bought items in an e-commerce service like Amazon - the top k most frequent items in a social media service like Twitter - the top k most accessed IP addresses on a network
L
1 company
hardSolutionSolution
easy
Design ChatGPT
Design ChatGPT
Add company report
easySolutionSolution
easy
Design Yelp
Yelp is an online platform that publishes crowd-sourced reviews about businesses. It also trains small businesses to respond to reviews responsibly; hosts social events for reviewers; and provides data about businesses, including health inspection scores. Yelp.com is a popular platform for users to find and review new places to eat, shop, drink, relax, and play.
Add company report
easySolutionSolution
easy
Design Rate Limiter
A rate limiter is a system is to prevent a user from making too many requests to a service within a certain time frame. This is used to protect services from abuse and can be implemented in various scopes like per user, per IP address, etc.
I
G
W
3 companies
easySolutionSolution
easy
Design Pastebin
Pastebin is an online application where users can store plain text. It is often used by developers to store pieces of sources code or configuration information, but anyone can essentially store any type of text. The idea behind the site is to make it more convenient for people to share large amounts of text online. Each piece of text that is pasted on Pastebin can be accessed through a unique URL
A
M
I
3 companies
easySolutionSolution
easy
Design Realtime Monitoring System
Design a realtime server monitoring and alert system like Datadog.
A
L
C
+3
6 companies
easySolutionSolution
easy
Design Typeahead System
A typeahead system, often called autocomplete, is a feature in software programs that predicts the rest of a word or phrase that a user is typing. This functionality helps users to find and select from a pre-populated list of values as they type, reducing the amount of typing needed and making the input process faster and more efficient. An everyday example of a typeahead system is Google's search box. As you begin typing your search query, Google provides a dropdown list of suggested search terms that match what you have typed so far. These suggestions are based on popular searches and the content indexed by Google's search engine. This allows you to see and select your intended search without having to type out the entire term, making the search process faster and more efficient. When a user begins to type in the search box, the typeahead feature could suggest book titles, authors, or genres that match the typed characters. For instance, if the user types in "Har", the system could suggest "Harry Potter", "Harper Lee", etc. This kind of typeahead system can greatly enhance the user experience by providing instant feedback and helping users formulate their search queries. In this problem, we will design a typeahead system for a large e-commerce site. The system will provide search suggestions to users as they type in the search box. The suggestions will be based on the most popular searches and the content indexed by the e-commerce site's search engine.
A
J
T
+3
6 companies
easySolutionSolution
medium
Design a Comment System
Design a comment system, such as Disqus, is a feature integrated into websites that allows users to post comments on published content, interact with other users through replies, upvote or downvote comments, and sort or filter comments. This system must be robust, scalable, and efficient to handle a large volume of users and comments.
Add company report
mediumSolutionSolution
medium
Design Twitter
Design a simplified version of Twitter where users can post tweets, follow/unfollow other users and is able to see the tweets of its followings.
A
1 company
mediumSolutionSolution
hard
Design WhatsApp
Design a chat app like WhatsApp.
M
U
A
3 companies
hardSolutionSolution
hard
Design Dropbox
Design a file hosting service such as Dropbox or Google Drive. A cloud file hosting service allows users to upload, download, and share files across different platforms. It should support multiple file types including text, images, and multimedia formats. For this problem let's focus on the backend system that stores and syncs them between different devices.
P
M
T
3 companies
hardSolutionSolution
hard
Design YouTube
YouTube is an online video-sharing platform where users can upload, share, and view videos. It supports various types of videos, including TV show clips, music videos, short and documentary films, movie trailers, and other content such as video blogging (vlogging), short original videos, and educational videos.
Add company report
hardSolutionSolution
hard
Design Uber
Design a ride-hailing service like Uber
Add company report
hardSolutionSolution
hard
Design Google Maps
Design a mapping service like Google Maps
P
1 company
hardSolutionSolution
hard
Design TicketMaster
Design a event ticketing system like TicketMaster
M
F
2 companies
hardSolutionSolution
medium
Design Netflix
Netflix is a streaming service offering a wide array of TV shows, movies, anime, documentaries, and more on thousands of internet-connected devices. Unlike YouTube, which primarily hosts user-generated content, Netflix focuses on delivering professionally produced film and television content, providing users with access to a vast library of titles without the need to watch a single commercial.
M
1 company
mediumSolutionSolution