practice a little every day — you've got this ♡
Data Structure Design Interview Problems
Practice 5969 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.
- 5969
- Problems
- 2211
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 361–375 of 375 results
- Data Structure DesignMediumAuto-gradedIncremental Config Value Store with Dependency Tracking
Tests ability to build a stateful key-value store that resolves integer expressions with named references, propagates updates through a dependency graph, and rejects cycles.
Data Structure Designgraphtopological-sortdesign - Data Structure DesignMediumAuto-gradedAggregated Multi-Venue Liquidity Tracker with BBO and NBBO
Build a system that maintains liquidity across trading venues and efficiently queries best prices per venue and across all venues.
Data Structure Designheapsdata-structureslazy-deletion - Data Structure DesignMediumAuto-gradedTrack Click-to-Conversion Matching with Time Windows
Tests event stream processing with time-based lookback windows, requiring efficient per-user state management and timestamp-based expiration logic.
Data Structure Designqueueshash-mapstime-windows - Data Structure DesignMediumAuto-gradedTransaction Fraud Pipeline with Behavioral Rules
Build a stateful stream processor that validates payment records, detects velocity and spending anomalies, and produces fixed-width audit logs.
Data Structure Designsimulationparsingsliding-window - Data Structure DesignHardAuto-gradedBanking Ledger with Time-Based Transfers and Account Consolidation
Build an in-memory banking system that processes timed fund transfers deterministically and consolidates accounts with automatic transaction rerouting.
Data Structure Designunion-findsimulationsorting - Data Structure DesignMediumAuto-gradedFlip Isolated O Regions to X Using Union-Find
Implement a union-find solution to identify and capture O regions that don't reach the board's edges, testing disjoint-set design and 2D-to-1D index mapping.
Data Structure Designunion-finddisjoint-setgridconnectivity - Data Structure DesignMediumAuto-gradedAggregate Scores Across a Sponsorship Tree
Tests tree traversal and subtree aggregation by computing cumulative scores bottom-up across a forest of sponsor-recruit relationships.
Data Structure Designtrees-graphsdesign-dsstacks-queues - Data Structure DesignMediumAuto-gradedSliding-Window Rate Limiter Over Event Timestamps
Tests the ability to implement a sliding-window rate limiter that, given a log of request timestamps, determines which requests are allowed under a fixed-window capacity.
Data Structure Designdata structuresrate limitersliding window - Data Structure DesignHardAuto-gradedStateful Activity Window Aggregation Over an Event Stream
Tests whether a candidate can maintain per-user rolling time windows over a chronologically ordered stream and emit aggregated records incrementally without buffering the whole input.
Data Structure Designhash-mapsimulationstreamingaggregation - Data Structure DesignMediumAuto-gradedSimulate a Frequency-Eviction Cache (LFU Cache)
Tests ability to simulate a Least-Frequently-Used cache by processing a sequence of get/put operations and returning the complete history of return values.
Data Structure Designdata structurescachesimulationhash map - Data Structure DesignEasyAuto-gradedFlatten and Iterate a Nested Registry
Tests the ability to implement a depth-first iterator over arbitrarily nested lists and dicts that yields leaf values in traversal order.
Data Structure Designdata structuresiterationrecursion - Data Structure DesignEasyAuto-gradedSliding Window API Rate Limiter
Tests ability to implement a sliding-window rate limiter that counts requests within a fixed-width time window using a list of timestamps.
Data Structure Designrate limitersliding windowdata structures - Data Structure DesignMediumAuto-gradedSimulate a TTL-Aware LRU Cache with Operation Log
Tests ability to simulate a fixed-capacity LRU cache where entries expire after a per-entry TTL, processing a sequence of GET/PUT/DELETE operations.
Data Structure Designdata structurescachesimulation - Data Structure DesignMediumAuto-gradedReconstruct Versioned Key-Value Store from Operation Log
Tests the ability to replay a sequential log of set/delete operations on a key-value store and answer point-in-time value queries efficiently.
Data Structure Designdata structuressimulationversioned storehash map - Data Structure DesignEasyAuto-gradedSimulate a Bounded LRU Cache with Hit/Miss Tracking
Tests ability to simulate a sequence of GET/PUT operations on a capacity-bounded LRU cache and return accumulated hit/miss statistics.
Data Structure Designdata structuressimulationcache