Mock Interviewer
Ask Coach
Tap a question to start, or type your own below.
Recommendation System Design
Visual Problem Diagram

Scenario
You open the home page and expect a row of what people are watching right now. The painful failure is that row still being six hours old, because it was built in a batch and never refreshed, so a show that just took off never appears and revenue dips 3%.
Clarify this problem here, or open Pathway Coach if you want a prep plan first.
You open a home page and see a short list picked for you. You can tap an item. You can skip it. You can watch it. Those actions teach the next list. A new person with no history still sees something sensible. A brand-new title can still show up.
You need to explain how you first gather a few thousand possibles and then order a short list. You need to explain what is computed ahead of time and what is computed when the page opens. You need to explain how a new person gets a list with no history. You need to explain how a new title can appear with no history. You need to explain how you sometimes leave a slot for a less obvious item. You need to explain what you serve if the ordering step is slow. The math inside the model can stay thin.
Constraints
Record what people tap and watch. Train ahead of time. Gather candidate items. Order them. Serve the list. Leave a way to compare two versions of the list.
Most lists are ready in under 100 milliseconds, so they fit inside the home page load. The page itself can still load in about 180 milliseconds while the row is old. A list that is minutes to hours old is acceptable if you say so out loud. The page stays up when ordering is slow.
About 100 million users and billions of items. The hot action is opening the home page. Gathering candidates runs at millions of requests a second in total, and that read rate dominates. The stored signals are on the order of a terabyte.
Stages ahead
Not ready to design yet?
Try the free Coach trial — ask how to prep, what to practice first, or how InterviewCrafted works. Sign in when you want to start this problem.
Log in to start practicing
Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.
Want full access now? View Pro pricing