practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6043 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.
- 6043
- Problems
- 2238
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 4711–4740 of 6043 results
- System DesignHardModel answerDesign a Global Photo and Video Hosting Platform
Architect a system that stores, processes, and serves user-generated photos and short videos at planetary scale with strong durability, low latency, and controlled cost.
System Designobject-storageCDNmedia-processingdistributed-systems - SQL & DataMediumModel answerCompute Daily Conversion and User Order History with Deduplication
Write SQL to calculate daily conversion metrics and per-user order summaries over a week, handling event deduplication and missing days.
SQL & Datawindow-functionsaggregationdeduplicationdate-ranges - BehavioralMediumModel answerOn-Call Incident Response: Severity Judgment and Change Correlation
Walk through a production incident where you assessed severity, coordinated teams, and linked runtime signals to a recent deployment or feature flag to cut time to resolution.
Behavioralincident-responseon-callescalationobservability - BehavioralEasyModel answerWorking Effectively with Distributed and Remote Teams
Discuss strategies for collaborating with teammates in different time zones and remote workers, then share a concrete example of successful collaboration.
Behavioralcollaborationremote-workcommunicationdistributed-teams - Arrays & HashingMediumAuto-gradedIdentify All Projects with Maximum Team Size
Group assignment pairs by project, count members per project, and return every project tied for the largest team.
Arrays & Hashingarrayshashinggroupingcounting - Data Structure DesignMediumModel answerDesign a Formula Engine with Cycle Detection
Build a computation system where cells hold values or formulas referencing other cells, detecting circular dependencies before they corrupt state.
Data Structure Designgraphstopological-sortcycle-detection - System DesignMediumModel answerBuilding a High-Throughput Request Throttling System
Design a service that enforces per-client request limits across a distributed application, handling 100k+ QPS with single-digit millisecond latency.
System Designdistributed-systemsrate-limitingredisscalability - BehavioralEasyModel answerDrive Cross-Team Alignment on a Shared Technical Dependency
Describe a time you untangled stalled cross-team technical dependencies and drove teams to a shared outcome without relying on formal authority.
Behavioralleadershipcross-functionalinfluencealignment - System DesignHardModel answerDesign a Real-Time Multi-Camera Perception System for a Self-Driving Car
Design an embedded onboard pipeline that ingests eight surround-view cameras and delivers tracked 3D obstacles, free space, and lane geometry to a motion planner within 40 ms.
System Designautonomous-vehiclesreal-time-systemscomputer-visionembedded-systems - Machine LearningHardModel answerReal-Time Anomaly Detection System for High-Traffic Platform
Build a streaming anomaly detection architecture that processes millions of requests per second, handles extreme class imbalance, and maintains feature consistency.
Machine Learningml-systemsstreamingfeature-engineeringlabeling - System DesignHardModel answerMulti-Level Key-Value Store with Expiration and Time Travel
Build an in-memory key-value store supporting CRUD, filtered queries, automatic expiration, and historical lookups across four progressive levels.
System Designdata-structurestime-seriesversioningttl - BehavioralMediumModel answerManaging a Global Cross-Functional Team
How would you lead a geographically dispersed team spanning multiple functions and regions, addressing time zones, cultural differences, and regulatory constraints?
Behavioralleadershipdistributed-teamscommunicationstakeholder-management - System DesignMediumModel answerBuild a Retry-Safe Task Scheduler for Event Notifications
Design an async notification system for item availability and due-date reminders with durable idempotency and crash recovery.
System Designasync-tasksidempotencydistributed-systems - System DesignMediumModel answerBuilding a Memory-Efficient Line Deduplication Tool
Design a command-line tool that removes duplicate lines from files too large to fit in memory, using external sorting or partitioning.
System Designexternal-memorydeduplicationsortingscalability - System DesignMediumModel answerDesign a Real-Time Stock Availability Service
Design a distributed inventory service that tracks stock across many locations, handles concurrent reservations without overselling, and pushes availability updates to clients in near real-time.
System Designdistributed-systemsconcurrencycachingreal-time - SQL & DataMediumModel answerBuild Candlestick Bars from a Raw Price Feed
Parse a string of price-timestamp ticks, bucket them into fixed-width time windows, compute OHLC stats, and forward-fill any empty windows.
SQL & Datatime-seriesaggregationdata-manipulationpython - Machine LearningMediumModel answerEnd-to-End ML Pipeline with NumPy and Pandas Only
Build a complete, leak-free machine learning pipeline — preprocessing, training, and evaluation — using only NumPy and pandas, no ML libraries.
Machine Learningsupervised-learninggradient-descentfeature-engineering - Arrays & HashingMediumAuto-gradedMinimum Operations to Equalize Array by Selective Increments
Tests insight that incrementing all-but-one is equivalent to decrementing one, leading to a sum-based formula instead of simulation.
Arrays & Hashingmatharraysgreedy - System DesignHardModel answerConsensus Protocols: Architectural Trade-offs and Implementation
Contrast two distributed consensus approaches, analyzing their mechanisms for leader election, replication, and fault tolerance to recommend one for a production service.
System Designdistributed-systemsconsensusfault-tolerancereplication - Machine LearningHardModel answerDesign an NL-to-Formula Assistant for a No-Code Spreadsheet Tool
Design an ML system that converts natural-language requests into validated formula expressions grounded in a live table schema, with optional write-back to the data source.
Machine Learningllm-orchestrationschema-groundingstructured-outputprompt-engineering - Trees & GraphsHardAuto-gradedPrune All Leaves Matching a Value, Cascading Upward
Tests whether a candidate can use post-order traversal to handle cascading leaf deletions in a binary tree encoded as a level-order list.
Trees & Graphsbinary-treepost-order-traversalrecursiontree-serialization - Machine LearningHardModel answerPredicting Delivery Lateness Risk for a Food Delivery Platform
Design an ML system to forecast whether orders will arrive after their promised time, covering feature engineering, temporal validation, calibration, and production deployment.
Machine Learningml-system-designclassificationtemporal-datacalibration - Heaps, Sorting & SearchMediumAuto-gradedK Nearest Points to Origin
Tests heap-based selection and distance computation to efficiently find the k points closest to the origin in 2D space.
Heaps, Sorting & Searchheapdistanceselectionoptimization - BehavioralMediumModel answerAnalyzing and Resolving a Complex Technical Problem
Discuss a challenging situation where you investigated a problem systematically, evaluated multiple solutions, and verified your approach worked.
Behavioralbehavioralproblem-solvingtechnical-leadership - Data Structure DesignMediumAuto-gradedBinary Layout Manager with Dynamic Field Insertion
Tests ability to maintain ordered sequences with efficient prefix-sum queries and positional insertions using balanced tree structures.
Data Structure Designbinary-search-treeprefix-sumdata-structure-design - Trees & GraphsMediumAuto-gradedSubtree Erasure in an Array-Backed Binary Tree
Tests implicit heap-tree traversal, subtree identification via index arithmetic, and stable compaction without mutating the input array.
Trees & Graphstrees-graphsarraysbfs-dfs - Data Structure DesignMediumModel answerBuild a Tree System with LRU Cache and Command History
Design a data structure for a tree where nodes can be read, modified, and traversed, with an LRU cache for fast access and an undo stack for reverting changes.
Data Structure Designlru-cachetree-traversalcommand-patternundo-redo - Arrays & HashingEasyAuto-gradedBest-of-Five: Probability All Five Games Are Played
Tests whether a candidate can derive the closed-form probability that a best-of-five series requires all five games, using combinatorial reasoning.
Arrays & Hashingprobabilitycombinatoricsmath - Arrays & HashingEasyAuto-gradedExpected Coin Flips to Observe Heads Then Tails
Tests ability to model a probabilistic process with states and solve expectation equations.
Arrays & Hashingprobabilityexpected-valuemarkov-chains - Statistics & ExperimentsMediumModel answerMarketplace Pricing Test with Supply-Demand Interactions
Design an experiment to test a pricing change in a two-sided marketplace where users interfere with each other through shared supply.
Statistics & Experimentsexperimentationcausal-inferencenetwork-effectsmarketplace