Netflix
39 design problems known to be asked at Netflix.
Easy3
Asked at Amazon, Google, Microsoft +3
·14 min read
Iterator Pattern: Walk a Collection Without Knowing Its Shape
Asked at Amazon, Google, Microsoft +2
·16 min read
Template Method: Freeze the Recipe, Swap the Ingredients
Asked at Amazon, Google, Microsoft +2
·15 min read
Medium28
The API Gateway: One Front Door for a Hundred Services
Asked at Netflix, Amazon, Uber +2
·15 min read
Behavioral Patterns: How Objects Talk and Decide
Asked at Amazon, Google, Microsoft +3
·8 min read
Bloom Filters: The Yes/No That Saves a Disk Seek
Asked at Google, Amazon, Meta +3
·12 min read
Caching Strategies: The Bet That Reads Repeat
Asked at Meta, Amazon, Netflix +3
·13 min read
CAP Theorem: The Choice You Only Make When the Network Breaks
Asked at Amazon, Google, Microsoft +3
·12 min read
CDNs: Move the Bytes to the User, Not the User to the Bytes
Asked at Cloudflare, Akamai, Fastly +3
·16 min read
Chain of Responsibility: Let the Request Find Its Own Handler
Asked at Amazon, Google, Microsoft +3
·15 min read
Command Pattern: Make a Request Something You Can Hold in Your Hand
Asked at Amazon, Google, Microsoft +3
·15 min read
Composite Pattern: One size() Call for a File or Ten Thousand
Asked at Amazon, Google, Microsoft +2
·15 min read
Creational Patterns: Who Decides What Gets Built
Asked at Amazon, Google, Microsoft +3
·5 min read
Database Indexing: Why B-Trees Read Fast and LSM-Trees Write Fast
Asked at Amazon, Google, Meta +3
·13 min read
Database Replication: Copies That Disagree With Each Other
Asked at Amazon, Google, Meta +3
·15 min read
Decorator Pattern: Stack Behavior at Runtime Without a Subclass Bomb
Asked at Amazon, Google, Microsoft +2
·14 min read
Dependency Inversion: Point the Arrow at an Abstraction
Asked at Amazon, Google, Microsoft +3
·8 min read
Idempotency: How to Retry a Payment Without Charging Twice
Asked at Stripe, Amazon, PayPal +3
·15 min read
Interface Segregation: Don't Make Callers Depend on What They Don't Use
Asked at Amazon, Google, Microsoft +3
·7 min read
Load Balancing: One Front Door for a Fleet That Keeps Changing
Asked at Amazon, Google, Netflix +3
·16 min read
Liskov Substitution: If Clients Must Check the Type, You Broke It
Asked at Amazon, Google, Microsoft +3
·8 min read
Message Queues & Event Streaming: Stop Making Users Wait for Work They Don't Care About
Asked at Amazon, LinkedIn, Netflix +3
·17 min read
Observer Pattern: Broadcast State Without Knowing Who's Listening
Asked at Amazon, Google, Microsoft +3
·15 min read
Open/Closed: Add a Channel Without Touching the Core
Asked at Amazon, Google, Microsoft +3
·7 min read
Proxy Pattern: The Stand-In Your Code Can't Tell Apart
Asked at Amazon, Google, Microsoft +3
·14 min read
Real-Time Updates: Polling, Long Polling, SSE, and WebSockets
Asked at Slack, Discord, WhatsApp +3
·16 min read
SOLID, Actually: Five Rules for Code That Survives Change
Asked at Amazon, Google, Microsoft +3
·4 min read
SQL vs NoSQL: Model the Access Pattern, Then Pick the Store
Asked at Amazon, Google, Netflix +3
·15 min read
Single Responsibility: One Reason to Change, One Owner
Asked at Amazon, Google, Microsoft +3
·7 min read
State Pattern: Make Illegal Transitions Impossible
Asked at Amazon, Google, Microsoft +2
·16 min read
Structural Patterns: Composing Objects Into Bigger Things
Asked at Amazon, Google, Microsoft +3
·8 min read
Hard8
Bridge Pattern: When Two Things Vary, Stop Multiplying Them
Asked at Amazon, Google, Microsoft +3
·14 min read
Consensus & Leader Election: How a Cluster Agrees on One Truth
Asked at Google, Amazon, Microsoft +3
·17 min read
Database Sharding: When One Machine Stops Being Enough
Asked at Amazon, Google, Meta +3
·16 min read
Distributed Transactions: When One Business Action Spans Many Services
Asked at Amazon, Uber, DoorDash +3
·17 min read
Interpreter Pattern: When Your Config Grows a Grammar
Asked at Google, Amazon, Microsoft +2
·15 min read
Design a Key-Value Store
Asked at Amazon, Netflix, Uber +2
·23 min read
Raft, Driven: Watch a Cluster Elect, Replicate, and Heal
Asked at Google, Amazon, Microsoft +4
·20 min read
Storage Engines: LSM-Trees vs B-Trees
Asked at Google, Meta, Amazon +3
·14 min read