System Design Interview Questions

15 System Design interview questions with worked answers, complexity notes, and runnable code you can edit in the browser — ordered easy to hard so you build up steadily. Free, no signup. Open any question for the full answer.

A repeatable way to design a frontend

Frontend system design feels open-ended until you have a structure to hang it on. The one these questions use is RADIO: Requirements, Architecture, Data model, Interface, Optimizations. Its whole purpose is to stop you from diving into a component tree before you have agreed on what you are building and how you will know it is done. Spend the first minutes scoping — functional requirements (what it does) and non-functional ones (how fast, how accessible, how resilient) — because the constraints you surface here are what every later decision refers back to.

From there, the shape of a strong answer is breadth first, then one deliberate deep-dive. Sketch the component tree and each part’s responsibility. Decide what state exists and where it lives — server, client, URL, or local storage — since that single choice drives most of your data flow, caching, and consistency questions. Define the interfaces: the props between components and the API contracts with the backend, including the states everyone forgets — loading, empty, and error.

Then pick the hard part and go deep. In a news feed it is infinite scroll and cache invalidation; in an autocomplete it is debouncing, cancellation, and race conditions; in a chat app it is the real-time transport and optimistic updates. Interviewers reward the candidate who covers the whole surface competently and then demonstrates depth on the piece that actually matters, while narrating the trade-offs out loud. These questions walk through that method on the designs that come up most, so the framework becomes a habit rather than something you reconstruct under pressure.

Easy

Medium

Hard

Other topics

HTML/CSS · Browser · JavaScript · TypeScript · React · Accessibility · Web Performance · Testing · Networking/Security · DSA

← Search all 265 questions