practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5987 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.
- 5987
- Problems
- 2219
- Auto-graded
- 15
- Topics
- 270
- Added today
Showing 5611–5640 of 5987 results
- 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 - StringsMediumAuto-gradedMinimum Window with K Distinct Characters
Tests sliding window technique with character frequency tracking to find the smallest substring containing exactly k distinct characters.
Stringssliding-windowhash-maptwo-pointers - Machine LearningHardModel answerBuilding a Misinformation Detection System
Design an ML pipeline to identify misleading content on a social platform, covering feature engineering, modeling strategy, evaluation, and production concerns.
Machine Learningclassificationfeature-engineeringproduction-mlevaluation-metrics - Trees & GraphsMediumAuto-gradedSchedule Tasks With Resource Unlock Dependencies
Tests ability to apply topological ordering to determine a valid execution sequence of tasks where each task may unlock resources required by others.
Trees & Graphsgraphstopological sortDAGKahn's algorithm - BehavioralMediumModel answerArticulating Career Direction and Past Decisions
Explain what drives your career choices, why you made key educational and work decisions, and what you're looking for next in a cohesive narrative.
Behavioralcareer-motivationself-awarenessstorytelling - Statistics & ExperimentsHardModel answerTesting a New Ad Recommendation System
Design an A/B test to compare a new ad model against the current one, choose metrics for different stakeholders, and decide whether to launch.
Statistics & Experimentsab-testingmetricsexperimentationads - Greedy & IntervalsMediumAuto-gradedLocate Uncovered Ranges Between Intervals
Tests interval merging, sorting, and boundary logic to identify all missing integer ranges within the overall coverage span.
Greedy & Intervalsintervalssortingmergingranges - BehavioralMediumModel answerExplaining a Design Decision Driven by Competing Constraints
Discuss a technical decision where you balanced competing system requirements, detailing alternatives, rationale, and results.
Behavioralleadershiptrade-offsdecision-making - StringsMediumModel answerRemove Paths by Prefix Hierarchy
Remove all paths that match or fall under any deletion target in a hierarchical filesystem-like structure.
Stringstrieprefix-matchingstring-processing - 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 - Arrays & HashingMediumAuto-gradedBalance Point Count in a Weighted Sensor Array
Tests the ability to use prefix sums to efficiently count indices where the weighted sum to the left equals the weighted sum to the right.
Arrays & Hashingarraysprefix sumshash maps - System DesignHardModel answerBuild a Global Video Platform with Resumable Upload and ABR Streaming
Architect a scalable video platform supporting chunked uploads, distributed transcoding into adaptive bitrate formats, moderation workflows, and CDN-backed delivery.
System Designvideo-streamingdistributed-systemscdnscalability - Machine LearningHardModel answerBuilding a Multi-Tenant RAG System for Secure Document Search
Architect a question-answering pipeline over confidential documents with strict access controls, verifiable citations, version handling, and hallucination prevention.
Machine Learningragmlopsinformation-retrievalsecurity - SQL & DataMediumAuto-gradedSequence Numbering Within Grouped Records
Tests ability to assign sequential positions to records within partitions using sorting and grouping logic.
SQL & Datawindow-functionssortinggrouping - Machine LearningHardModel answerDesign a Weekly User Activity Forecasting System
Build an ML platform to forecast which users will remain active next week, supporting both batch predictions for millions of users and low-latency individual queries.
Machine Learningml-system-designfeature-engineeringmodel-servingscalability - Heaps, Sorting & SearchEasyAuto-gradedRunning Median After Each Insertion
Tests median maintenance using two heaps to efficiently return the running median after each element is added to a growing sequence.
Heaps, Sorting & Searchheapssortingmedian maintenance - Arrays & HashingMediumAuto-gradedMaximum Straight-Line Distance Through Dangerous Zones
Tests efficient grid reasoning with blocked regions and directional movement constraints using binary search.
Arrays & Hashingbinary-searchgridgeometry - Arrays & HashingMediumAuto-gradedKeep First Occurrence of Each Element
Tests understanding of hash-based deduplication while maintaining insertion order in a single pass through an array.
Arrays & Hashingarrayshash-setdeduplicationorder-preservation - 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 - BehavioralMediumModel answerDriving Cross-Team Decisions as a Data Scientist
Demonstrate how you lead outcomes across PM, engineering, and design when you control no roadmaps, handle tough feedback, and resolve conflicting stakeholder priorities.
Behavioralleadershipinfluencecollaborationprioritization - Trees & GraphsMediumAuto-gradedAggregate User Permissions Through Account Ancestry
Tests hierarchical graph traversal and efficient permission accumulation using ancestor path lookup and set operations.
Trees & Graphsgraphstreesbfscaching - Machine LearningHardModel answerGradient Boosting Regularization and Fraud Detection Pipeline
Design a complete gradient boosting pipeline for rare-event classification: explain the regularized objective, tune hyperparameters, and build a leakage-free validation strategy.
Machine Learninggradient-boostingregularizationimbalanced-classificationmodel-validation - Trees & GraphsMediumAuto-gradedCalculate Cumulative Task Weights in a Dependency Graph
Tests graph traversal and dynamic programming on DAGs to compute propagated weight contributions through dependency chains.
Trees & Graphsgraphsdagtopological-sortdynamic-programming - Trees & GraphsMediumAuto-gradedRank Build Targets by Dependency Order
Tests whether a candidate can produce a valid topological ordering of a build-dependency DAG and apply a precise tie-break rule when multiple orderings exist.
Trees & Graphsgraphstopological sortBFSKahn's algorithm - Statistics & ExperimentsMediumModel answerMeasuring the Impact of In-Game Advertising
Design an evaluation framework to assess whether introducing ad inventory improves monetization without harming player retention or lifetime value.
Statistics & Experimentsexperimentationmetricscausal-inferenceproduct-analytics - Trees & GraphsHardAuto-gradedFastest Delivery Route with Fuel Station Stops
Tests the ability to extend Dijkstra's algorithm with a constrained resource (fuel), requiring candidates to track both position and remaining fuel as state.
Trees & Graphsgraphsdijkstrashortest pathdynamic programming - Statistics & ExperimentsMediumModel answerDesign an Experiment for a Marketplace Convenience Feature
Plan and evaluate a controlled test for a new guest amenity in a two-sided platform, covering unit choice, metrics, power, and interference risks.
Statistics & Experimentsexperimentationcausal-inferencemarketplacea-b-testing - System DesignMediumModel answerBuilding a Global Music Chart Aggregation System
Design a scalable streaming pipeline that computes country-level song popularity rankings from millions of play events with 10-minute refresh cycles.
System Designstreamingdata-pipelineaggregationscalability - Dynamic ProgrammingHardAuto-gradedConstruct Arithmetic Expression Matching Target
Tests subset enumeration with bitmask DP, binary expression tree generation, operator application with exact rational arithmetic, and combinatorial search.
Dynamic Programmingbitmask-dprecursioncombinatorics - BehavioralMediumModel answerReflecting on a Flawed Technical Choice You Owned
Discuss a technical decision you led that proved incorrect, covering discovery, impact, correction, and lasting process changes.
Behavioralleadershipownershipjudgmentlearning