practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6025 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.
- 6025
- Problems
- 2231
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 5011–5040 of 6025 results
- Machine LearningHardModel answerDesigning a Content Moderation System for Prohibited Videos
Design a production pipeline to detect harmful video content at scale, handling extreme imbalance, adversarial evasion, and human review workflows.
Machine Learningml-systemsclassificationimbalanced-datamultimodal - Data Structure DesignMediumAuto-gradedReplay Operations on a Bounded LRU Cache
Tests understanding of least-recently-used eviction by executing a sequence of cache operations and collecting their return values.
Data Structure Designcachelruevictionsimulation - System DesignMediumModel answerBuild a Scalable Task Scheduling Service
Architect a fault-tolerant distributed system that executes millions of recurring jobs with precise timing, at-least-once guarantees, and resilience to failures.
System Designdistributed-systemsschedulingfault-tolerancescalability - Arrays & HashingMediumAuto-gradedBest Single-Breakpoint Step-Function Fit
Tests whether a candidate can derive an O(n) prefix-aggregate sweep to find the one split index that minimizes total squared error for a two-segment constant model.
Arrays & Hashingarraysmathprefix-sums - Arrays & HashingMediumAuto-gradedAggregate Tournament Standings from User Rankings
Tests pairwise comparison aggregation, majority voting with tie-breaking, and ranking by win totals.
Arrays & Hashingarrayssortingaggregation - BehavioralMediumModel answerRecorded Project Walkthrough: AI System You Built
Record a video explaining an AI system you developed, clarifying your personal contributions and the project's impact.
Behavioralvideo-responseproject-walkthroughownershipai-systems - Statistics & ExperimentsMediumModel answerMeasuring Incremental Lift for a New Ad Format
Design an experiment to determine whether a new top-of-feed ad unit generates net revenue or simply shifts clicks from existing mid-feed ads.
Statistics & Experimentsexperimentationab-testingmetricsanalytics - Machine LearningMediumModel answerBuild an Audio Episode Summarization Pipeline
Design an end-to-end ML system that automatically produces text summaries for audio content as new episodes are released.
Machine Learningml-system-designnlpaudio-processingproduction-ml - System DesignMediumModel answerReal-Time Task Assignment Engine for Developer Marketplace
Build a system that routes skill-tagged work items to qualified engineers in under 500ms while maintaining fair load distribution across 200k workers.
System Designdistributed-systemsmatching-algorithmsscalability - Data Structure DesignEasyModel answerBuild an Event Dispatcher with Subscribe and Notify Operations
Design and implement a subscription-based event system where functions can subscribe to event identifiers and be invoked when those events are triggered.
Data Structure Designevent-systemcallbackserror-handlingreentrancy - Arrays & HashingEasyAuto-gradedNeural Network Implementation of Centroid-Based Classification
Derives the weight matrix and bias vector of a single-layer network that performs soft assignment to cluster centers using squared distance.
Arrays & Hashingneural-networksclusteringlinear-algebra - StringsMediumAuto-gradedMinimum Edit Distance to Make String a Palindrome
Tests whether a candidate can compute the minimum number of single-character insertions needed to transform an arbitrary string into a palindrome using interval DP.
Stringsstringsdynamic programmingpalindromesedit operations - Trees & GraphsMediumAuto-gradedResolve Variable Dependencies with Arithmetic
Tests dependency graph traversal, cycle detection, and recursive evaluation of variables defined by arithmetic expressions.
Trees & Graphsrecursiongraph-traversalcycle-detectionparsing - Greedy & IntervalsMediumAuto-gradedConsolidate Overlapping Ranges
Tests ability to sort intervals and merge adjacent or overlapping ranges into a minimal disjoint set.
Greedy & Intervalsarrayssortinggreedy - Machine LearningHardModel answerDelivery Time Estimation: Full ML System Design
Design an end-to-end ML system to predict food delivery duration, covering features, leakage, modeling, calibration, cost-sensitive decisions, fairness, and production deployment.
Machine Learningeta-predictionquantile-regressionfeature-engineeringcalibration - Statistics & ExperimentsMediumModel answerDiagnose a Sudden Order Decline in a Single Metro
Walk through a full investigation of a completed-order drop in one city, from data validation to funnel decomposition to designing a marketplace experiment.
Statistics & Experimentsmarketplace analyticscausal inferenceexperiment designfunnel analysis - Statistics & ExperimentsEasyModel answerBayes' Theorem and P-Values: Concepts and Common Pitfalls
Explain Bayes' theorem with a worked numeric example and define p-values precisely, including what they do and do not let you conclude.
Statistics & Experimentsprobabilityhypothesis-testingbayesian-reasoning - Machine LearningHardModel answerDesign a Document Q&A Service with Retrieval-Augmented Generation
Architect a production RAG system that lets employees query a large internal document corpus and get cited, access-controlled answers within two seconds.
Machine LearningRAGLLMvector-searchsystem-design - Arrays & HashingMediumAuto-gradedFilter Devices by Status, Threshold, and Registration Month
Tests nested JSON navigation, timestamp parsing in UTC, date-range filtering, and numeric comparison with multiple simultaneous predicates.
Arrays & Hashingjsondatetimefilteringdata-processing - Machine LearningHardModel answerMulti-Horizon Dock Availability Prediction System
Design a real-time forecasting system to predict bike-share dock availability 24 hours ahead, handling temporal dependencies and asymmetric costs.
Machine Learningtime-seriesforecastingfeature-engineeringmodel-selection - Heaps, Sorting & SearchMediumAuto-gradedMerge Sorted Streams with Memory Constraint
Tests heap-based merging of multiple sorted sequences under strict O(k) space while maintaining stable duplicate handling.
Heaps, Sorting & Searchheapsortingmergespace-complexity - Statistics & ExperimentsHardModel answerHandling Skewed, Zero-Inflated Revenue Metrics in A/B Tests
Select and justify statistical inference methods for a revenue metric plagued by zero-inflation, heavy tails, and unequal variance between treatment arms.
Statistics & Experimentsab-testinghypothesis-testingbootstraptwo-part-model - Statistics & ExperimentsMediumModel answerCausal inference without randomization and A/B/C test analysis
Estimate treatment effects using observational methods when experiments are infeasible, then analyze a three-arm conversion test with proper uncertainty and multiple-comparison handling.
Statistics & Experimentscausal-inferenceexperimentationmultiple-testingconfidence-intervals - StringsHardAuto-gradedMini Policy Engine: Boolean Rule Evaluation for Post Routing
Tests whether a candidate can build a recursive-descent parser for a small boolean expression language and wire it into a first-match rule dispatcher.
Stringsparsingrecursionstring processing - Data Structure DesignMediumModel answerBuild a Thread-Safe Batched Log Writer
Create a logger that safely accepts messages from multiple threads, buffers them in memory, and writes batches to disk based on size or time triggers.
Data Structure Designconcurrencythreadingproducer-consumerbuffering - System DesignMediumModel answerHandling a Service Degradation After Recent Release
Diagnose and mitigate a performance or availability drop that appears 10–15 minutes after shipping a new version to production.
System Designincident-responseobservabilityproduction-systems - Machine LearningHardModel answerDesign a Product Discovery and Ranking Platform
Design an end-to-end search system for a large online marketplace, covering query understanding, retrieval, ranking, indexing pipelines, and serving infrastructure.
Machine Learningsearchrankinginformation-retrievalsystem-design - Statistics & ExperimentsHardModel answerDesigning a Push Notification Frequency Experiment
Design an end-to-end experiment to measure the causal impact of sending more order-related push notifications, covering metrics, long-term effects, and interference.
Statistics & Experimentsexperimentationcausal-inferencemetric-designpower-analysis - Heaps, Sorting & SearchMediumAuto-gradedGreedy Task Merging and Segment Removal Cost
Tests greedy heap-based merge cost minimization and prefix-sum sliding-window removal to minimize adjacent absolute differences.
Heaps, Sorting & Searchgreedyheapprefix-sumssliding-window - Trees & GraphsMediumModel answerGrid Containment: Minimum Removals to Stop Spread
Find the fewest cells to remove from a grid to prevent infection from spreading to healthy neighbors.
Trees & Graphsbipartite-matchinggraph-theorygridvertex-cover