Katkat

Design viewport dedup for Netflix home page

NetflixSoftware Engineer · Technical Screen

Last updated

Design viewport dedup for Netflix home page evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Design the above-the-fold (initial viewport) rendering for the Netflix home page so that all cells displayed in the first screen contain unique shows with no duplicates across rows or within a row. Describe the data model for rows and candidate items, personalization inputs, and constraints (e.g., row themes, editorial pins, maturity limits). Propose an algorithm to select and place items to satisfy deduplication while maximizing relevance, including conflict resolution, backfill strategy, and a latency budget suitable for client-side or server-side rendering. Explain how you would handle partial data, caching, and loading more items as the user scrolls, and how you would measure impact.