practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6040 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.
- 6040
- Problems
- 2237
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 1201–1230 of 3803 results
- System DesignHardModel answerDesigning Asynchronous Systems: Queues, NoSQL Stores, and Concurrency
Analyze message queues, delivery semantics, push vs. pull models, NoSQL vs. relational databases, and distributed concurrency controls including deadlock resolution.
System Designsystem-designmessage-queuesnosqlconcurrency - BehavioralMediumModel answerWalk Through Your Most Impactful Engineering Projects
Present a past software project end to end: the problem, your ownership, key decisions, obstacles, success metrics, results and lessons learned, in a structured and defensible way.
Behavioralbehavioralproject-deep-diveownershipimpact-metrics - System DesignHardModel answerDesign a Cloud IDE System for Browser-Based Code Execution
Architect a cloud-based development environment enabling real-time browser code editing, interactive terminal streaming, sandboxed execution, and workspace state persistence at scale.
System Designsystem-designcloud-idesandboxingwebsockets - Statistics & ExperimentsMediumModel answerSizing Sydney's Flower Shops and Quoting a Market on the Count
Estimate how many walk-in florist shops are in Greater Sydney using two independent methods, quote a bid/ask on the count, then revise after a trade and a partial registry count.
Statistics & Experimentsfermi-estimationmarket-makingbayesian-updatingadverse-selection - Trees & GraphsMediumModel answerBuild a Collapsible JSON Tree Renderer in React
Design and implement a React component to display nested JSON with collapsible nodes, indentation, and syntax highlighting for primitive types.
Trees & GraphsReactJSONTreeFrontend - Statistics & ExperimentsMediumModel answerFlash-Sale Order Burst: Triage, Decision Policy and Safer Promos
Triage a suspicious burst of flash-sale orders, set priced approve/hold/reject rules under chargeback and review-capacity limits, then redesign the promo and plan a safe rollout.
Statistics & Experimentsfraud-analyticsdecision-thresholdscost-matrixexperiment-design - System DesignMediumModel answerDesigning a High-Throughput Order Management & Execution System
Design a scalable retail brokerage order management system handling limit/market orders, cancellations, concurrency-safe account balances, and edge cases like lost/duplicate fill reports.
System Designsystem-designdistributed-systemsconcurrencyfintech - System DesignMediumModel answerDesign and Implement a 2x3 React Post Grid with API Integration
Build a 2x3 React grid component for display feeds, integrate data loading with proper state management, and explain React hook mechanics.
System Designreactfrontendcss-gridhooks - Data Structure DesignMediumModel answerRefactoring and Hardening a Driver Dispatch Service
Identify anti-patterns in legacy dispatch assignment code, implement fixes, introduce domain types, and design for thread-safety.
Data Structure Designrefactoringthread-safetyobject-oriented-designclean-code - Statistics & ExperimentsHardModel answerBuilding a Fair Scorecard for Last-Mile Couriers
Design a measurement system that evaluates couriers fairly across very different routes and conditions, going beyond raw parcel counts and elapsed time.
Statistics & Experimentsmetrics-designnormalizationmixed-effects-modelsfairness - System DesignMediumModel answerDesign a Real-Time Driver Tracking and Nearby Location Service
Architect a low-latency ingestion and spatial indexing system for tracking real-time vehicle locations and serving proximity queries at high scale.
System Designsystem-designgeospatialin-memory-databasestream-processing - System DesignHardModel answerDesign a Collaborative LLM Prompt Workbench with Live Streaming
Design a multi-tenant web tool where teams author prompts, run them on external LLMs with streamed output, version and compare results, and track cost, latency, and safety.
System Designsystem-designstreamingmulti-tenancyidempotency - System DesignMediumModel answerDesign an E-Commerce Search and Typeahead System
Architect a low-latency prefix typeahead and full-catalog product search system capable of handling high traffic spikes and near real-time inventory updates.
System Designsystem-designautocompletesearchtrie - Machine LearningMediumModel answerLeakage-Safe Binary Classifier Workflow: From EDA to Monitoring
Design and implement an end-to-end binary classification workflow in Python, covering time-aware splits, imbalance, tuning, calibration, error analysis, explainability and production safeguards.
Machine Learningclassificationtime-aware-validationclass-imbalancecalibration - Dynamic ProgrammingHardModel answerIdentify Compound Words in a Dictionary
Find all strings in a list that can be constructed by concatenating two or more smaller strings from the same list.
Dynamic Programmingstringsdynamic-programmingtriehash-table - Machine LearningHardModel answerArchitectural Comparison of Sequence Models and MPC Integration
Detailed comparison of RNNs, LSTMs, Transformers, and Model Predictive Control, including mathematical formulations, structural trade-offs, and hybrid learning-control frameworks.
Machine Learningdeep-learningtransformersmpcrobotics - Machine LearningMediumModel answerArrival-Time Prediction for a Ride-Share App: End-to-End ML Design
Design a machine learning system that predicts driver pickup time and trip duration, covering labels, features, models, metrics, bias, noise, serving, monitoring, and post-launch experiments.
Machine Learningeta-predictionspatiotemporalmodel-designcalibration - SQL & DataMediumModel answerShared-Document Analytics: Sources, Partners, and Country Rates
Use deduplicated user-document pairs to analyze how collaborators arrive, who works most with a given user, and which country has the highest share of users who collaborate.
SQL & Datasqlpandasself-joindeduplication - BehavioralMediumModel answerExplaining Past System Architecture Decisions and Engineering Trade-Offs
Demonstrate technical leadership, system architecture experience, and problem-solving skills by deep-diving into a past project's engineering trade-offs and failures.
Behavioralsystem designarchitectureleadershipbehavioral - Machine LearningMediumModel answerTargeting Strategy for a Streaming Show Launch Email Campaign
Plan an end-to-end email targeting system for a new title release, covering cold start, causal uplift modeling, offline metrics, and online A/B testing.
Machine Learninguplift-modelingrecommendation-systemsab-testingsystem-design - Statistics & ExperimentsMediumModel answerDesigning A/B Experiments for Banner Ads and Group Stories
Learn how to design A/B tests for ad monetization and social features, including metric selection, handling fat-finger clicks, and managing network interference.
Statistics & Experimentsab-testingexperimentationmetricsnetwork-effects - Data Structure DesignMediumModel answerBuild Stateful Round-Robin and Consistent Hash Load Balancers
Implement thread-safe Round-Robin and Consistent Hashing balancers supporting health checks and dynamic nodes, then analyze their performance.
Data Structure Designload-balancerconsistent-hashinground-robindata-structure-design - System DesignEasyModel answerDesign a User Profile Ingestion System: Batch vs. Streaming
Design an ingestion and processing pipeline for JSON user profiles, comparing batch file arrivals against a real-time event streaming paradigm.
System Designsystem designbatch processingevent streamingetl - Statistics & ExperimentsMediumModel answerEstimating Personalization Impact via AB Test Covariate Adjustment
Analyze an A/B test on content recommendation by calculating the ATE, deriving robust 95% confidence intervals, and evaluating covariate adjustment techniques like Lin's regression.
Statistics & Experimentscausal inferenceab testingvariance reductionregression - System DesignMediumModel answerBuild a Natural-Language Image Search Service with Access Control
Design a service that lets users find images from free-text descriptions, handling batch ingestion, joint embeddings, permission filtering, ranking, evaluation, updates, and deletions.
System Designml-system-designmultimodal-embeddingsvector-searchreranking - System DesignMediumModel answerDesign CI/CD Build Caching System
Design a distributed build caching system for CI/CD pipelines, covering cache key generation, concurrent upload coordination, and tiered storage architecture.
System Designsystem-designcachingdistributed-systemsobject-storage - System DesignMediumModel answerExplaining Disk Usage Discrepancies Between df and du
Analyze why df and du report different disk space utilization on Linux systems and walk through a step-by-step troubleshooting process.
System Designlinuxoperating-systemsstoragesre - Greedy & IntervalsMediumModel answerPinpoint Bad Nodes with Disjoint Group Probes of Size Two or More
Find exactly which cluster nodes are bad when the only probe is a group test that fails if any member is bad, parallel probes must be disjoint, and each probe needs at least two nodes.
Greedy & Intervalsgroup-testingadaptive-algorithmsround-robin-schedulingidentifiability - Stacks & QueuesMediumModel answerEvaluate Arithmetic Expressions and Decode Nested Run-Length Strings
Implement two production-ready string parsers: an arithmetic evaluator supporting basic operators and precedence, and a nested string expansion utility.
Stacks & Queuesstackparsingstringsexpression-evaluation - Statistics & ExperimentsMediumModel answerMatching Test Errors to Classifier Metrics: FP, FN, Precision, Recall
Link false-alarm and missed-detection errors in hypothesis tests to classifier metrics, explain why precision depends on prevalence, and judge which error hurts more in practice.
Statistics & Experimentshypothesis-testingtype-i-errortype-ii-errorprecision-recall