Practice

Problems

Sandboxed coding rounds that run against a hidden test suite, and written questions graded against a rubric. Both, in one list.

72 problemsClear filters

Practice problems, with your status, difficulty and topics
StatusProblemFormatLevel
Not startedFind a pair summing to a target, in a sorted arrayarraystwo-pointersWritteneasy
Not startedAuth Middleware BugWrittenmedium
Not startedBounded producer-consumer queuec++concurrencycondition-variablequeuesWrittenmedium
Not startedCircuit BreakerWrittenmedium
Not startedConnection PoolWrittenmedium
Not startedCORS MysteryWrittenmedium
Not startedDesign a notification servicehldqueuesreliabilitysystem-designWrittenmedium
Not startedDesign a rate limiterconcurrencyhldreliabilitysystem-designWrittenmedium
Not startedDesign a retry policydistributed-systemslldreliabilityWrittenmedium
Not startedDesign a text-sharing servicecachinghldstoragesystem-designWrittenmedium
Not startedDesign a URL shortenercachinghldstoragesystem-designWrittenmedium
Not startedDesign a URL shortenercachingstoragesystem-designWrittenmedium
Not startedDesign an LRU cachecachingconcurrencydata-structureslldWrittenmedium
Not startedDesign notification fan-outfan-outqueuessystem-designWrittenmedium
Not startedDesign search autocompletecachingdata-structureshldsystem-designWrittenmedium
Not startedFind the gapsgaps-and-islandssqlwindow-functionsWrittenmedium
Not startedFlaky Clock TestWrittenmedium
Not startedIdempotent Payment APIWrittenmedium
Not startedIndex Zero Doesn't ExistWrittenmedium
Not startedInfinite RetryWrittenmedium
Not startedKth largest in a streamheapstreamingtop-kWrittenmedium
Not startedLast Item MissingWrittenmedium
Not startedLongest run of distinct elementshash-mapsliding-windowstringsWrittenmedium
Not startedLRU CacheWrittenmedium
Not startedMerge overlapping intervalsgreedyintervalssortingWrittenmedium
Not startedMocking Too MuchWrittenmedium
Not startedMutable Default NightmareWrittenmedium
Not startedN+1 Profile PageWrittenmedium
Not startedPriority Job QueueWrittenmedium
Not startedRetry with Exponential Backoff + JitterWrittenmedium
Not startedRunning total per accountsqlwindow-functionsWrittenmedium
Not startedSearch a rotated sorted arrayarraysbinary-searchWrittenmedium
Not startedTake-home: a rate-limited APIapi-designrate-limitingtake-hometestingWrittenmedium
Not startedTell me about a time you broke productionbehavioralfailureownershipstarWrittenmedium
Not startedTell me about a time you disagreed with a decisionbehavioralconflictstarWrittenmedium
Not startedTell me about the most ambiguous problem you have worked onambiguitybehavioralstarWrittenmedium
Not startedThe Exception Nobody SeesWrittenmedium
Not startedThe loop that should be fast and is notc++cachememoryperformanceWrittenmedium
Not startedThe Missing CustomersWrittenmedium
Not startedThe Stale CacheWrittenmedium
Not startedThe stale closureclosuresjavascriptreactWrittenmedium
Not startedToken Bucket Rate LimiterWrittenmedium
Not startedUsers Who Never Logged InWrittenmedium
Not startedVersioning an API you cannot take downapi-designrestversioningWrittenmedium
Not startedWhat does idempotent actually mean?api-designreliabilityrestWrittenmedium
Not startedWhen is an atomic not enough?atomicsc++concurrencymutexWrittenmedium
Not startedWhy did my counter get slower with more threads?c++cacheconcurrencyperformanceWrittenmedium
Not startedDesign a chat serviceconsistencydistributed-systemshldsystem-designWrittenhard
Not startedDesign a collaborative document editorconsistencydistributed-systemshldsystem-designWrittenhard
Not startedDesign a distributed job schedulerdistributed-systemshldreliabilitysystem-designWrittenhard
Not startedDesign a distributed key-value storeconsistencydistributed-systemshldsystem-designWrittenhard
Not startedDesign a distributed rate limiterdistributed-systemsrate-limitingsystem-designWrittenhard
Not startedDesign a file sync serviceconsistencyhldstoragesystem-designWrittenhard
Not startedDesign a limit order bookdata-structureslldlow-latencytradingWrittenhard
Not startedDesign a market data distribution systemlock-freelow-latencymarket-datasystem-designWrittenhard
Not startedDesign a metrics and monitoring systemhldreliabilitystoragesystem-designWrittenhard
Not startedDesign a news feedcachingdistributed-systemshldsystem-designWrittenhard
Not startedDesign a payment system and ledgerconsistencyhldreliabilitysystem-designWrittenhard
Not startedDesign a post and follow-graph serviceconsistencydistributed-systemshldsystem-designWrittenhard
Not startedDesign a ride-matching servicedistributed-systemshldstoragesystem-designWrittenhard
Not startedDesign a ticket booking systemconcurrencyconsistencyhldsystem-designWrittenhard
Not startedDesign a video streaming servicecachinghldqueuessystem-designWrittenhard
Not startedDesign a web crawlerdistributed-systemshldstoragesystem-designWrittenhard
Not startedDesign an ad click aggregation pipelineconsistencyhldqueuessystem-designWrittenhard
Not startedDesign an object storage servicehldreliabilitystoragesystem-designWrittenhard
Not startedFewest machines to finish by a deadlinebinary-searchgreedyoptimisationWrittenhard
Not startedTake-home: trade reconciliationcorrectnessdatatake-hometradingWrittenhard
Not startedThe ABA problematomicsc++concurrencylock-freeWrittenhard
Not startedWas double-checked locking ever actually broken?c++concurrencymemory-modelsingletonWrittenhard
Not startedWhat does memory_order_relaxed actually guarantee?atomicsc++concurrencymemory-modelWrittenhard
Not startedWhat is the hardest technical problem you have solved?behavioralstartechnical-depthWrittenhard
Not startedWhy is this query slow?indexingperformancequery-planningsqlWrittenhard