practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6093 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.
- 6093
- Problems
- 2258
- Auto-graded
- 15
- Topics
- 279
- Added today
Showing 3871–3900 of 6093 results
- Machine LearningEasyModel answerChoosing Between AI and Deterministic Logic in Product Features
Decide when a feature should use a model versus plain code, covering fit criteria, anti-patterns, AI-native design, and cost/trust trade-offs.
Machine Learningproduct-senseml-strategyml-system-designai-native - Arrays & HashingMediumAuto-gradedDeduplicate Coordinate List with Index Mapping
Tests the ability to extract distinct elements while preserving first-occurrence order and building an index array for reconstruction.
Arrays & Hashinghashingdeduplicationindexing - Trees & GraphsMediumAuto-gradedPlace One Beacon to Minimize Peak Shadow Distance
Tests binary search on a monotone feasibility predicate combined with multi-source BFS and Chebyshev distance geometry on a 2-D grid.
Trees & Graphsbfsbinary-searchgrid - Machine LearningMediumModel answerFix a broken medical message routing classifier
Debug a telehealth triage service that returns wrong categories with negative confidence scores, then redesign the classification and escalation logic.
Machine Learningml-debugginghealthcaresafety-criticalapi-design - Trees & GraphsMediumAuto-gradedRecursive Region Tree and Safe Graph Nodes
Tests recursive spatial subdivision (quadtree construction) and graph cycle detection (identifying nodes that always terminate).
Trees & Graphsrecursiongraphsdivide-and-conquertopological-sort - BehavioralEasyModel answerChallenging Project, Preferred Work Setting, Job Priorities, and Outside Interests
Four concise behavioral prompts covering your hardest project, the conditions you work best in, what matters to you in a role, and your hobbies.
Behavioralbehavioralcommunicationself-awareness - Arrays & HashingMediumAuto-gradedAlternating Chain Assembly from Both Ends
Tests two-pointer simulation with alternating turns, conditional greedy selection rules, tie-breaking logic, and strict-increase constraints.
Arrays & Hashingsimulationtwo-pointersarrays - System DesignHardModel answerPresent and defend a distributed system you personally built
Walk through a production system you owned end to end — requirements, architecture, data model, scaling, consistency trade-offs, failure modes, and observability — and defend every decision under follow-up questions.
System Designsystem-designdistributed-systemskafkaownership - Data Structure DesignHardModel answerBuilding Map and Filter from a Reduce Foundation
Implement a reduce operation, then express map and filter purely in terms of that reducer without independent iteration.
Data Structure Designhigher-order-functionsfunctional-programmingdata-structures - BehavioralHardModel answerLead Cross-Team Delivery and Navigate Ambiguity
Demonstrate ownership, cross-functional collaboration, and self-awareness through structured answers to delivery, communication, and motivation prompts.
Behavioralcross-team collaborationproject ownershipstakeholder communicationrisk management - System DesignMediumModel answerDesign a Cost-Reduction Gateway for Metered Upstream APIs
Design a shared proxy that sits between internal microservices and pay-per-call APIs, cutting spend through caching, request collapsing, batching, and budget enforcement.
System Designcachingrate-limitingmicroservicesapi-gateway - Machine LearningMediumModel answerCritique a Vision-Based Infrastructure Failure Prediction System
Identify the data, modeling, optimization, and deployment flaws in a proposal to train a CNN on public images to predict structural failures and generate safe designs.
Machine Learningcomputer-visionmodel-evaluationadversarial-mlsystem-design - Data Structure DesignHardAuto-gradedIP Access Control with CIDR Matching
Tests binary trie implementation for efficient IP prefix matching with CIDR notation and rule subsumption optimization.
Data Structure Designtriebit-manipulationnetwork-programming - Trees & GraphsMediumAuto-gradedConvert Nested Dictionary to Dot-Separated Keys
Tests ability to traverse nested data structures and transform hierarchical key-value pairs into a flat representation using path notation.
Trees & Graphsrecursioniterationdictionarytree-traversal - BehavioralHardModel answerWalk a Mixed Audience Through a Modeling Project
Structure a 10–15 minute stakeholder presentation of a past ML project, covering business framing, metrics, trade-offs, risks, results, and impact — then defend it under cross-functional Q&A.
Behavioralcommunicationstakeholder managementmodel deploymentbusiness impact - Machine LearningHardModel answerWalk Through a Production ML System You Built
Describe one model you deployed in detail: formulation, features, training decisions, production issues, evaluation, and monitoring.
Machine Learningmodel-developmentproduction-mlfeature-engineeringevaluation - Machine LearningHardModel answerTaming a High-Variance Regressor Under a Latency Budget
Diagnose a severe train/validation RMSE gap on tabular data, then select, prioritize, and experimentally validate three overfitting interventions without exceeding a 20 ms inference limit.
Machine Learningregularizationoverfittinggradient-boostingfeature-engineering - System DesignHardModel answerLive Market Data Distribution Platform
Build a streaming architecture to deliver current stock quotes to millions of users with sub-second latency and graceful degradation under load.
System Designreal-time systemsstreamingpub-subwebsockets - Statistics & ExperimentsMediumModel answerDiagnosing and Reducing Temperature Complaints in Food Delivery
Identify why meals arrive at suboptimal temperatures, design metrics to quantify the issue, and structure a controlled test to validate a solution.
Statistics & Experimentsexperimentationmetricscausal-inferenceA/B-testing - Data Structure DesignMediumModel answerBuild a Dropping Tile Game with Win Detection
Implement game logic for a gravity-based two-player board game: handle piece placement, detect wins efficiently, and analyze complexity.
Data Structure Designgame-logic2d-gridstate-machine - System DesignMediumModel answerAd serving platform with experiment assignment and tracking
Build a system that delivers targeted ads with low latency, tracks engagement events, and supports deterministic A/B test assignment and analysis.
System Designad-techexperimentationhigh-throughputcaching - Arrays & HashingHardAuto-gradedDifference-in-Differences Estimator with Baseline Gap Check
Tests understanding of causal inference mechanics by computing a DID treatment effect and flagging baseline imbalance from panel observations.
Arrays & Hashingcausal-inferencedata-analysisdifference-in-differences - BehavioralMediumModel answerWalk Me Through Yourself and a Project You Owned
Structure a sharp personal introduction and a concrete project deep-dive that shows ownership, technical depth, and measurable impact.
Behavioralcommunicationproject narrativeownershipimpact - Machine LearningMediumModel answerAutomated Ticket Routing for Multi-Team Engineering Organizations
Build an ML system that assigns incoming support tickets to the right engineering team, handling thousands of teams and high throughput.
Machine Learningclassificationnlpproduction-mlretrieval - Machine LearningMediumModel answerRAG Service for Cited Q&A Over Long Regulatory Filings
Design a retrieval-augmented assistant that answers multi-document questions over long regulatory filings with paragraph-level citations, streaming, and hallucination guards.
Machine Learningragretrievalcitationsagentic-orchestration - System DesignMediumModel answerPassword-Protected Encrypted Key-Value Store
Design a user-authenticated key-value store where values are encrypted at rest using the user's password, covering key derivation, storage layout, and cryptographic trade-offs.
System Designcryptographyauthenticationkey-management - System DesignMediumModel answerThree-Thread Ordered Printer with Condition Variables
Coordinate three threads with a shared lock and condition variable so they emit the interleaved sequence 0,1,0,2,0,3,… up to n.
System Designconcurrencysynchronizationcondition-variablesmultithreading - Heaps, Sorting & SearchMediumAuto-gradedBinary Search Over Date-Filtered Content Flags
Tests whether a candidate can isolate records by category and then apply binary search to efficiently locate all entries within an inclusive date window.
Heaps, Sorting & Searchbinary-searchsortingdata-manipulation - Math & Bit ManipulationMediumAuto-gradedFrequency Peaks and Prime Extraction
Tests frequency counting with tie-aware mode detection and prime identification via sieve, including edge cases for unique values and non-prime inputs.
Math & Bit Manipulationhash-mapsieve-of-eratosthenesfrequency-counting - Arrays & HashingHardAuto-gradedData-Driven Fare Policy Rule Engine
Evaluate stored fare and per-driver policy rules over a trip table with generic field/operator conditions and exact integer-cent sums.
Arrays & Hashinghash-mapsortingrule-enginesimulation