practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6049 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.
- 6049
- Problems
- 2239
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 1381–1410 of 3810 results
- BehavioralHardModel answerDeep-Dive on a Major Project You Drove: Scope, Decisions, and Lessons
Present a substantial engineering project end to end: constraints, your role, a key design trade-off, the toughest bug, how you verified results, and what you would change.
Behavioralbehavioraltechnical-leadershipownershiparchitecture-tradeoffs - System DesignMediumModel answerDesigning an Evaluation Framework for Local Language Models
Design and implement a robust, extensible evaluation harness for local LLM endpoints with metrics, concurrency control, and fault tolerance.
System Designsystem designmachine learningpythonasyncio - System DesignMediumModel answerBuilding a Crew Rostering Backend with Safe Shift Claiming
Design a backend for posting, claiming, and locking restaurant work shifts that prevents double-claims and overlapping assignments while serving a heavily read schedule view.
System Designsystem-designconcurrencydata-modelingcaching - Statistics & ExperimentsEasyModel answerTwo Trial Offers: Chance of One Ride and of Lasting Loyalty
Work out, for a rider shown two independently fair-or-unfair prices on day one, the chance of exactly one ride the next day and the chance they eventually become a permanent rider.
Statistics & Experimentsprobabilitybinomialmarkov-chainfirst-step-analysis - Machine LearningHardModel answerDifferentiable Routing Strategies for Mixture-of-Experts Models
Explore techniques to make hard MoE routing differentiable, comparing straight-through estimation, Gumbel-Softmax, REINFORCE, and gate-scaling alongside auxiliary anti-collapse mechanisms.
Machine Learningmixture of expertsgumbel softmaxreinforcegradient estimation - SQL & DataMediumModel answerCTR Metrics with Deduplication Windowing and PR Model Evaluation
Evaluate A/B experiment unique CTR using windowed SQL deduplication and analyze model precision-recall performance with weighted sample thresholds in Python.
SQL & DataSQLWindow FunctionsPandasPrecision-Recall - System DesignMediumModel answerBuilding a Filterable Catalog Search with Live Facet Counts
Design a billion-item catalog search service with relevance ranking, filters, accurate facet counts, stable pagination, and second-level freshness for fast-changing price and stock data.
System Designsearchinverted-indexfacetingsharding - System DesignMediumModel answerGit, Docker, Python Environments and Modern C++ Essentials
Explain a team Git workflow, Docker image practices, Python isolation and pinning, and core C++ idioms (RAII, moves, const), with reasons and trade-offs.
System Designgitdockerpythoncpp - SQL & DataMediumModel answerFind Highest Weighted Venue Locations with Data Cleaning
Compute top venue locations by summing vote weights using SQL and Python, while handling missing values, text normalization, and ties.
SQL & DataSQLPythonData CleaningAggregation - Statistics & ExperimentsHardModel answerDetecting Structural Shifts, Building Counterfactuals, and Testing Interventions
Detect structural shifts in time-series data, construct counterfactual predictions under non-stationary patterns, and design spillover-resistant validation experiments.
Statistics & Experimentstime-serieschange-point-detectionab-testingcausal-inference - Math & Bit ManipulationHardModel answerComprehensive Algorithmic Practice Set: Bitwise, Window, Monotonic Stack & Tree Operations
A practice collection covering essential algorithms: bit manipulation, two pointers, monotonic stack, dynamic programming, binary search, tree path XORs, and graph re-rooting.
Math & Bit Manipulationbit-manipulationmonotonic-stacktree-dpdynamic-programming - System DesignHardModel answerDesign a Distributed Crossword Fill Engine
Architect a scalable, fault-tolerant distributed system to solve large constraint-satisfaction crossword grid fills using parallel search strategies.
System Designsystem-designdistributed-systemsconstraint-satisfactionparallel-computing - System DesignEasyModel answerArchitecting Real-Time Data Sync with React and Firestore
Architect a high-performance, cost-effective data retrieval strategy for a live fundraising application using React and Firestore.
System Designreactfirebasefirestorearchitecture - BehavioralMediumModel answerMaking Progress on a Project With Unclear Scope and Ownership
Describe a time you moved forward on work with vague goals, requirements or ownership, and show how you cut uncertainty, paced decisions and kept stakeholders aligned.
Behavioralbehavioralambiguityleadershipstakeholder-alignment - BehavioralHardModel answerPitching Automated Unread Thread Pinning to Skeptical Engineers
Deliver a structured pitch to persuade engineers to build auto-pinned unread chats, covering baseline metrics, architecture, performance budgets, and rollout guardrails.
BehavioralStakeholder ManagementProduct SenseSystem ArchitectureA/B Testing - Machine LearningHardModel answerBuild a Tiny Backpropagation Engine Over Torch Tensors
Design a small tensor class that records a computation graph for add, mul, matmul, ReLU and sum, then runs reverse-mode differentiation to give correct gradients for every input.
Machine Learningautogradbackpropagationreverse-mode-differentiationpytorch - BehavioralMediumModel answerExecutive Behavioral: Elevator Pitch, Company Fit, and Stakeholder Trade-offs
Craft compelling responses for behavioral questions targeting a Senior Product Manager role, focusing on career story, company alignment, and managing complex stakeholder trade-offs.
BehavioralBehavioralProduct ManagementStakeholder ManagementTrade-offs - Statistics & ExperimentsHardModel answerDesigning a Geo Experiment for a Seasonal Flu-Shot TV Flight
Design a six-week local TV flight to lift flu vaccinations: pick and pair markets, define the KPI, choose a causal design, set media weight, run power math, and add guardrails.
Statistics & Experimentsgeo-experimentcausal-inferencemedia-measurementpower-analysis - SQL & DataMediumModel answerWeekly Revenue Aggregation and Regional Drop Attribution
Aggregate weekly revenue in SQL using ISO weeks, calculate period-over-period performance, and attribute regional drop drivers with guardrails against incomplete weeks.
SQL & Datasqltime-seriesaggregationwindow-functions - System DesignMediumModel answerDesign a Resilient Order Refund Workflow Engine
Design an idempotent, durable DAG workflow execution system for processing order refunds, handling step dependencies, crash recovery, manual reviews, and financial consistency.
System Designsystem-designdistributed-systemsidempotencystate-machines - BehavioralMediumModel answerWalk Through a Past Project and What You'd Change
Describe a substantial technical project from the last two years, covering the problem, design trade-offs, delivery obstacles, measured results, and an honest look at what you would redo.
Behavioralbehavioralproject-deep-diveretrospectivetechnical-leadership - Data Structure DesignMediumModel answerTransit Fleet Simulator: Sampling, Seating Limits, and Fast-Lane Riders
Build a bus network simulator: downsample riders by origin-destination pair, board and drop under a capacity cap, validate event logs, and give priority-pass riders precedence.
Data Structure Designsimulationheapstratified-samplingevent-ordering - Trees & GraphsMediumModel answerShared Ancestors: Binary Tree to Multi-Parent Graph
Find the lowest common ancestor of two nodes in a binary tree, then generalize to a directed acyclic graph where several incomparable lowest common ancestors can exist.
Trees & Graphslowest-common-ancestorbinary-treedagbfs - System DesignHardModel answerBuilding a Pipeline for Fleet-Captured Panoramic Imagery
Design a system that receives huge volumes of geotagged panoramic photos from a vehicle fleet, stores raw and processed versions durably, and serves location-based tiles quickly.
System Designsystem-designobject-storagegeospatial-indexingresumable-uploads - Statistics & ExperimentsMediumModel answerIs This Coin Biased? Testing 560 Tails in 1,000 Tosses
Run a two-sided one-sample proportion test on 560 tails out of 1,000 tosses at the 5% level, covering hypotheses, test statistic, p-value, and interpretation.
Statistics & Experimentshypothesis-testingproportion-testnormal-approximationp-value - BehavioralEasyModel answerWalk Through a Production Defect You Contained and Prevented
Describe a real production defect you found: how you limited the damage, found the root cause, verified the fix, and added a lasting control so it could not happen again.
Behavioralbehavioralincident-responsestar-methodroot-cause-analysis - Machine LearningMediumModel answerEnd-to-End E-Commerce Purchase Intent Prediction Pipeline
Design a robust data cleaning, pipeline, validation, and threshold-tuning strategy to predict session conversions evaluated on weighted F1 score.
Machine Learningdata-preprocessingfeature-engineeringcross-validationclassification - System DesignMediumModel answerGit Branching, Large-Asset Management, and CI Pipeline Architecture
Architect a robust Git branching model, asset versioning strategy, and CI integration for software repos dealing with large binary artifacts and automated testing.
System Designgitci-cddevopstesting - System DesignMediumModel answerBuild a Crash-Resilient Delayed and Recurring Task Runner
Design a distributed service that runs one-off and cron-style tasks at scale with no lost work, safe retries, duplicate-submission protection, and cancellation.
System Designsystem-designdistributed-systemsschedulingfault-tolerance - BehavioralHardModel answerMotivation and Engineering Mindset for an AI Safety Role
Answer a three-part screening question on why you want to work on AI safety, a safeguards project you built, and how you balance shipping speed with verification.
Behavioralbehavioralai-safetymotivationsafeguards