practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6067 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.
- 6067
- Problems
- 2249
- Auto-graded
- 15
- Topics
- 276
- Added today
Showing 2101–2130 of 3818 results
- System DesignHardModel answerResilient Dispatch and Trip Lifecycle at Global Scale
Design a real-time ride-hailing backend that ingests driver pings, matches riders without double-booking, and runs an idempotent, fault-tolerant trip state machine.
System Designsystem-designgeospatialdistributed-systemsstate-machine - BehavioralMediumModel answerDescribe a Production Incident You Led From Symptom to Fix
Walk through a real, difficult debugging investigation: how you diagnosed the failure, stopped the impact, and changed the system to prevent recurrence.
Behavioraldebuggingincident responseroot cause analysisobservability - Statistics & ExperimentsMediumModel answerDefining Usability Metrics for Consumer Apps and Dev Tools
Turn a vague "this improves usability" claim into concrete, measurable metrics for a streaming platform and a machine learning framework.
Statistics & Experimentsproduct analyticsexperimentationdeveloper toolsmetrics - Machine LearningHardModel answerSimulating Traffic Participants for Autonomous Vehicle Training
Design a system for modeling the behavior of surrounding vehicles, pedestrians, and cyclists in a closed-loop driving simulator used to train and evaluate an autonomous driving agent.
Machine Learningsimulationreinforcement-learningautonomous-drivingmulti-agent - BehavioralEasyModel answerWalk Me Through a Project You Recently Shipped
Structure a compelling two-minute project walkthrough that shows ownership, decision-making, and measurable impact without getting lost in technical detail.
BehavioralcommunicationownershipSTAR methodHR screen - Statistics & ExperimentsMediumModel answerTesting a Loyalty Discount Increase in a Ride-Share Marketplace
Design an A/B test to evaluate whether doubling a loyalty discount grows net revenue in a two-sided marketplace, covering experimental design, metrics, power analysis, and decision-making.
Statistics & Experimentsexperiment-designa-b-testingmarketplacepricing - Data Structure DesignMediumModel answerBits, Cache Eviction, and Vertex Degrees: Fundamentals Under Pressure
Explain two's-complement shifts, compare LRU vs LFU eviction with trade-offs, and derive in-degree query costs across graph representations.
Data Structure Designbit-manipulationcachinggraphscomplexity - System DesignHardModel answerDesign an Observability Metrics Pipeline at Scale
Design a distributed system that ingests millions of tagged metric data points per second, enforces cardinality safety, tiers storage by age, and serves dashboard queries under 500 ms.
System Designmetricstime-seriesdistributed-systemsobservability - System DesignHardModel answerDesign a pipeline to migrate data from a SQL database to a key-value store
Move rows from a relational database into a NoSQL key-value store with a consistent one-time snapshot followed by ongoing CDC replication from the write-ahead log.
System Designchange-data-capturedata-migrationdistributed-systemsidempotency - Machine LearningHardModel answerPredicting Turbine Power Output from Snapshot Weather Data
Design a tabular regression pipeline that maps weather and turbine attributes at a single instant to power output, covering physics features, data cleaning, model choice, validation and calibrated uncertainty.
Machine Learningregressionfeature-engineeringgradient-boostingmodel-validation - System DesignHardModel answerDistributed Event Ledger, Pay Engine, Workflow Orchestration, and AI Query Assistant
Design four backend systems: a deduplicated event counter, an immutable driver-pay ledger, a fault-tolerant offboarding workflow, and a permission-gated LLM expense assistant.
System Designevent-drivenworkflow-orchestrationLLMledger - Arrays & HashingEasyModel answerWeighted Random Item Picker from Scratch
Implement a function that draws one item from a list at random, where each item's selection probability is proportional to its given weight.
Arrays & Hashingprobabilityprefix-sumbinary-search - Machine LearningMediumModel answerRobustness Testing: Universal Adversarial Triggers on Small LLMs
Design a controlled offline evaluation framework to discover and measure universal adversarial triggers on a small language model like GPT-2, covering threat modeling, optimization concepts, metrics, and safety guardrails.
Machine Learningadversarial-robustnesslanguage-modelsred-teaming - Statistics & ExperimentsMediumModel answerStream Sampling with Fixed Memory
Maintain a uniformly random sample of k elements from an unbounded stream in one pass using O(k) space.
Statistics & Experimentsprobabilitystreaming-algorithmssampling - Data Structure DesignMediumModel answerBuild a Bank, Validate Passwords, and Evaluate Expressions
Design a mini banking system, write a password strength checker with generator, and parse arithmetic expressions with full operator precedence.
Data Structure Designhash-mapstackparsingsimulation - System DesignMediumModel answerDesign a Time-Interval Vehicle Booking System
Design a booking service for rental vehicles: availability search, temporary holds, confirmation, cancellation, concurrency control, and double-booking prevention.
System Designconcurrencyinventory-managementdistributed-systems - BehavioralHardModel answerDeep Dive: Your Most Impactful Infrastructure Project
Walk through a major infrastructure project end-to-end, covering problem framing, architecture, scale numbers, a real incident, and quantified results.
Behavioralinfrastructuretechnical leadershipsystem designincident response - BehavioralMediumModel answerPreparing for an Async Video Interview as a Frontend Engineer
Structure effective responses for a timed asynchronous video screening, demonstrating frontend technical depth, collaboration skills, and role alignment.
Behavioralfrontendcommunicationcareer-progression - Statistics & ExperimentsMediumModel answerP-values, Confidence Intervals, and Hypothesis Test Selection
Explain p-values vs. confidence intervals, when to use t-tests vs. chi-square tests, and define Type I and Type II errors with examples.
Statistics & Experimentsstatisticshypothesis-testinginferencefundamentals - BehavioralMediumModel answerNavigating Collaboration, Workload, and Feedback at Work
Demonstrate soft skills—conflict resolution, prioritization, mentorship, and feedback—through structured behavioral stories drawn from real experience.
Behavioralteamworkprioritizationfeedbackconflict-resolution - BehavioralMediumModel answerHandling Deadlines, Ownership, and Feedback Under Pressure
Demonstrate your approach to tight timelines, leading through obstacles, stepping beyond defined boundaries, and revising decisions when challenged.
Behavioralleadershipownershipcommunicationtrade-offs - Data Structure DesignMediumModel answerConcurrent Queue with Bounded Capacity and Graceful Shutdown
Implement a thread-safe FIFO queue with fixed capacity, blocking operations, timeout support, and coordinated shutdown behavior.
Data Structure Designconcurrencythreadingsynchronizationmonitor-pattern - Arrays & HashingMediumModel answerWalk Through Your Subarray Solution and Its Trade-offs
Given a solution to a subarray-sum problem, explain your approach, prove it correct, analyze complexity, and compare it to at least two alternatives.
Arrays & Hashingprefix-sumhash-mapcomplexity-analysiscommunication - BehavioralMediumModel answerBuild a Geometry Library with Interfaces and Classes
Create an abstract interface for geometric shapes and implement concrete classes for circles and rectangles with validation and immutability.
Behavioralobject-oriented-designinterfacesencapsulationpolymorphism - System DesignHardModel answerDesign a Spoken Role-Play Tutor for Many Languages
Design a real-time multilingual voice role-play practice feature: content model, session state machine, low-latency audio pipeline, offline mode, personalization, scaling and privacy.
System Designsystem-designspeechlow-latencymultilingual - BehavioralMediumModel answerExplain a Technical Skill You Recently Acquired
Discuss a new engineering concept you learned, your learning approach, initial mistakes, and how you applied it to solve real problems.
Behaviorallearning-agilitytechnical-depthproblem-solvingself-awareness - System DesignMediumModel answerDesign a Delayed Webhook Delivery Service
Design a system that accepts a target URL, a future timestamp, and a JSON payload, then reliably delivers that payload via HTTP at the scheduled time.
System Designsystem-designschedulingqueuesreliability - Statistics & ExperimentsMediumModel answerExperiment Design for a Flexible Merchant Promotions Feature
Design success metrics, an A/B test, and a ramp strategy to evaluate a new tool that lets merchants schedule time-based discounts and control their own promotional eligibility.
Statistics & Experimentsexperimentationcausal-inferenceCUPEDmetrics-design - BehavioralMediumModel answerRedirect a Team Moving Toward a Technical Dead End
Describe a time you spotted a flawed technical direction, validated the problem with evidence, and guided your team toward a better path without damaging trust.
Behavioralleadershipconflict-resolutiontechnical-judgmentdisagree-and-commit - Data Structure DesignMediumModel answerOne-Edit Word Lookup and Vertical Tree Traversal
Design a data structure for single-character substitution queries, then output a binary tree's node values sorted by column, row, and left-to-right order.
Data Structure Designhashingtriebinary-treebfs