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 691–720 of 737 results
- Data Structure DesignEasyAuto-gradedCount Requests Within a Sliding Time Window
Tests ability to implement a sliding-window rate limiter by counting how many past requests fall within a fixed-duration window ending at each query timestamp.
Data Structure Designdata structuressliding windowrate limiter - Data Structure DesignMediumModel answerReal-Time List Filter with Dynamic Maximum Highlighting
Create a filterable transaction list that automatically highlights entries with the highest amount among currently visible results.
Data Structure Designfrontendstate-managementfilteringui-components - Data Structure DesignMediumModel answerContiguous Range Manager with Dynamic Resizing
Build a system to manage named, non-overlapping contiguous ranges over a fixed ID space with dynamic resizing that minimally shifts neighbors.
Data Structure Designrange-managementgreedyarraysystem-design - Data Structure DesignMediumModel answerTransaction Policy Engine Design and Implementation
Build a configurable rule engine that evaluates financial transactions against spending policies and returns approval decisions in real-time.
Data Structure Designrule-enginepolicy-evaluationsystem-designdata-structures - Data Structure DesignMediumModel answerFrame-Based Media Player in JavaScript
Build a JavaScript controller for frame-by-frame playback with play, pause, seek, and configurable FPS, handling timer accuracy and state management.
Data Structure Designjavascripttimersclosuresapi-design - Data Structure DesignMediumModel answerText Editor with Undo and Word Suggestions
Build a text editor class supporting character insertion, deletion, cursor movement, undo/redo operations, and prefix-based word autocompletion.
Data Structure Designdata-structurestrieundo-redogap-buffer - Data Structure DesignHardAuto-gradedStreaming Median Query
Tests balanced heap design to maintain dynamic order statistics with logarithmic insertions and constant-time median queries.
Data Structure Designheapsdata-structuresstreamingmedian - Data Structure DesignMediumModel answerParallel Job Scheduler with Dependency Management
Build a concurrent task executor that honors dependencies, enforces worker limits, and propagates failures through dependent jobs.
Data Structure Designconcurrencygraphstopological-sort - Data Structure DesignMediumModel answerFrequency Tracking with Static and Streaming Top-K Retrieval
Build data structures to identify the most frequent elements in three scenarios: a fixed array, an unbounded stream, and a time-windowed stream.
Data Structure Designfrequency-countingheapssliding-windowstreaming-algorithms - Data Structure DesignMediumAuto-gradedBilling Ledger with Credit Prioritization and Backdating
Process billing events where credits pay usage before subscription fees, supporting out-of-order event insertion with selective recomputation.
Data Structure Designdata-structuressimulationordered-data - Data Structure DesignMediumModel answerIn-Memory Payroll Tracker with Partial Settlement
Build an object-oriented service to log driver work intervals, compute wages, and process payments while preventing double-pay and handling overlaps.
Data Structure Designobject-oriented-designtime-intervalsmoney-arithmeticstate-management - Data Structure DesignMediumAuto-gradedTime-Aware Key-Field Store with Expiration
Tests ability to implement an in-memory store with nested key-field structure, lexicographic scanning, timestamps, and TTL-based expiration logic.
Data Structure Designhash-mapsimulationtime-based-expiration - Data Structure DesignMediumModel answerBuilding Robust Autocomplete Query Management
Design and implement the query-handling layer for an autocomplete component with debouncing, retry logic, response ordering, and result caching.
Data Structure Designasynccachingstate-management - Data Structure DesignMediumModel answerConcurrent In-Memory Cache with Sharded Locking
Build a thread-safe in-memory cache supporting concurrent reads and writes, choosing data structures and synchronization primitives to minimize contention.
Data Structure Designconcurrencythreadinglockingdata-structures - Data Structure DesignMediumModel answerC++ Implementation Details: Containers and Polymorphism
Explain the internal mechanics of std::vector growth, std::unordered_map collision handling, and virtual function dispatch in C++.
Data Structure Designc++data-structuresperformancememory - Data Structure DesignMediumModel answerBanking API with Thread-Safe Account Operations
Build a thread-safe banking system supporting account creation, deposits, and transfers with atomic balance updates.
Data Structure Designconcurrencythreadinglocksdata-structures - Data Structure DesignMediumModel answerBuild Iterator Abstractions and Composed Traversals
Design an iterator protocol from scratch, implement concrete iterators with different traversal logic, and extend them with features like peeking, filtering, and flattening.
Data Structure Designiteratorsinterface-designlazy-evaluation - Data Structure DesignMediumModel answerFix a Ride Dispatch Selection Bug
Reproduce and fix a bug causing incorrect driver-to-order matching in a delivery assignment service.
Data Structure Designdebuggingtestingconcurrencydistributed-systems - Data Structure DesignMediumModel answerBuild a Concurrent Batch Transform Engine with Error Isolation
Create a worker-pool-based processor that applies transformation pipelines to 2D integer grids, ensuring failures in individual items don't affect others.
Data Structure Designconcurrencyerror-handlingthreading - Data Structure DesignMediumAuto-gradedKey-Value Store with Expiration and Snapshots
Design a nested dictionary with field-level expiration times and the ability to capture and restore database snapshots.
Data Structure Designhash-tablesimulationdata-structure-design - Data Structure DesignMediumModel answerAccount Ledger with Reservation Expiry and Merging
Design a banking ledger that supports deposits, time-limited transfer reservations, acceptance of reserved transfers, and merging accounts with their pending operations.
Data Structure Designstate-machinereservation-systemunion-findexpiry-handling - Data Structure DesignMediumModel answerWind Field Tracker for Hot Air Balloons
Build a system that tracks balloon altitudes, computes spatially-varying wind exposure from multiple sources, and identifies stable balloons above a threshold.
Data Structure Designevent-simulationspatial-aggregationtime-based-statedata-structures - 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 DesignMediumModel answerBuild a Dynamic IP Address Filter with CIDR and Range Support
Implement a low-latency IP rule matcher supporting CIDR blocks and numeric ranges with conflict resolution based on specificity and recency.
Data Structure Designnetworkingdata-structuresheapsalgorithms - Data Structure DesignMediumModel answerTime-Ordered Credit Bucket Manager
Build a ledger tracking credit buckets with expiration windows, supporting out-of-order events, priority-based consumption, and point-in-time balance queries.
Data Structure Designheapsevent-orderingtime-seriesdata-structures - 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 DesignMediumModel answerManaging a Live Event Stream with Pause and Statistics
Build a React hook that processes a high-speed event stream with deduplication, sorting, memory limits, pause/resume, and rolling time-window metrics.
Data Structure Designreacthooksstate-managementstreaming - Data Structure DesignMediumModel answerRPN Calculator and Lock-Free Queue Implementation
Build a macro-enabled expression evaluator and implement a thread-safe ring buffer with proper memory ordering.
Data Structure Designconcurrencymemory-managementcompilersdata-structures - Data Structure DesignMediumModel answerBuild a Rule-Based Access Control Evaluator with Expression Parsing
Design and implement an access decision engine that evaluates ordered security rules with conditions expressed in a custom expression language.
Data Structure Designparsinginterpretersrecursioncompiler-design - 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