practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6074 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.
- 6074
- Problems
- 2252
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 2011–2040 of 3822 results
- System DesignMediumModel answerBuild a Multi-Sink Logging Pipeline with Fault Isolation
Design a thread-safe in-process logger that fans out immutable log records to independent handlers with isolated failures, runtime reconfiguration, and bounded async buffering.
System Designconcurrencyloggingsystem-designpython - System DesignHardModel answerArchitecting a Streaming LLM Chat Front End
Design a browser client that streams model output into a virtualized, richly formatted chat log while surviving dropped connections and branching edits.
System Designfrontendstreamingvirtualizationstate-management - BehavioralMediumModel answerAce the Technical Screen Opener: Intro, Fit, Logistics, and Pay
Structure a strong opening segment by delivering a focused self-introduction, genuine motivation, clear logistics, grounded compensation expectations, and sharp questions for the team.
Behavioralself-introductioncompensationcommunicationmotivation - Machine LearningHardModel answerAudit a Feature Pipeline for Silent Failures, Then Design for Freshness
Spot every category of production risk in a passing-tests feature pipeline PR, then choose the right serving architecture for batch, near-real-time, and request-time features.
Machine Learningfeature engineeringtraining-serving skewfeature storeML infrastructure - System DesignMediumModel answerRepair Async Watch-List Add/Remove Endpoints
Debug failing REST handlers that add and remove movies in a watch list, fixing check ordering, ID comparison, persistence timing, and status codes.
System Designdebuggingrest-apihttp-status-codesasync-persistence - BehavioralMediumModel answerNavigating a Project When the Scope Isn't Clear
Describe how you make progress and keep stakeholders aligned when a project starts without well-defined requirements or direction.
Behavioralambiguitystakeholder communicationproject management - Trees & GraphsMediumModel answerCount All Valid 4×4 Three-in-a-Row Game Sequences
Use recursion and backtracking to enumerate every ordered move sequence on a 4×4 board where three consecutive marks (not four) wins.
Trees & Graphsbacktrackingrecursiongame-treecombinatorics - SQL & DataMediumModel answerMaster SQL Window Functions: Ranking, Running Totals, and Gap-Fill
Write analytical SQL queries using only window functions — no self-joins — to compute running totals, forward-fill sparse events, and rank users within groups.
SQL & Datawindow-functionsrankingrunning-totalforward-fill - System DesignHardModel answerRunning a Structured Code Review Under Time Pressure
Walk through a repeatable framework for producing high-signal PR feedback — prioritized, clearly labeled, and written with minimal context — in roughly 20–30 minutes.
System Designcode reviewengineering fundamentalscommunicationsoftware design - SQL & DataMediumModel answerFood Platform Analytics: Basket Pricing and Order Metrics
Design functions to find the best-priced restaurant for a shopping cart, calculate revenue metrics over time windows, and identify top orders and items.
SQL & Datadata-structuresaggregationwindow-queriesheap - System DesignHardModel answerBuilding a DAG Workflow Engine on Kubernetes
Design a Kubernetes-native system that schedules containerized DAG tasks with dependency ordering, retries, durable state, and multi-tenant isolation.
System Designkubernetesworkflow-orchestrationdag-schedulingreliability - Statistics & ExperimentsHardModel answerSampling Strategy for Estimating Classifier Accuracy with a Fixed Review Budget
Given a fixed number of human labels, decide whether to label more examples once each or fewer examples multiple times, and quantify the uncertainty either way.
Statistics & Experimentsstatisticsmachine-learningexperimental-design - BehavioralMediumModel answerSenior PM Behavioral: Ownership, Influence, and Tough Feedback
Practice four senior-level behavioral prompts covering unconventional problem-solving, stakeholder conflict, scope ownership, and receiving hard feedback.
BehavioralleadershipSTARstakeholder-managementprogram-management - Machine LearningHardModel answerDesigning a Sample-Wise Double Descent Experiment in Linear Regression
Design and analyze a synthetic linear regression experiment that demonstrates how test error spikes near the interpolation threshold as sample size varies.
Machine Learningdouble descentgeneralizationlinear regressionbias-variance - Machine LearningHardModel answerValue Functions and the Recursive Structure of MDPs
Derive and interpret the recursive equations that relate current value to immediate rewards and future expected value in reinforcement learning.
Machine Learningreinforcement-learningmdpvalue-functionsdynamic-programming - System DesignHardModel answerDesign a Trending Content Feed with Near-Real-Time Ranking
Architect a system that ranks articles by engagement velocity with 1–2 minute freshness, covering ingestion, streaming aggregation, storage tiers, and cheap high-QPS serving.
System Designstreamingrankingcachingkafka - BehavioralMediumModel answerBehavioral: Motivation, Integrity, and Technology Awareness
Demonstrate your interest in a tech organization, describe handling a problem you noticed, and discuss emerging technology trends relevant to the business.
Behavioralbehavioralleadershipcommunication - Statistics & ExperimentsEasyModel answerIs a 65% Conversion Rate Proof a Campaign Beat Its 60% Target?
Run a one-sided proportion test on 65 conversions out of 100 to decide whether a campaign's true conversion rate exceeds a 60% benchmark.
Statistics & Experimentshypothesis-testingconfidence-intervalsproportions - BehavioralMediumModel answerBehavioral Screen: Eight Core Competencies in One Round
Practice answering the eight behavioral prompts most common in engineering screens: intro, ambiguity, conflict, failure, influence, prioritization, feedback, and motivation.
Behavioralbehavioralcommunicationleadershipteamwork - Heaps, Sorting & SearchMediumModel answerMinimum-Distance Depot Placement on a Grid with Blocked Cells
Place a depot on a 2D integer grid to minimize total Manhattan distance to all warehouses, avoiding any cell occupied by an obstacle.
Heaps, Sorting & Searchmanhattan-distancemedianpriority-queueprefix-sums - Data Structure DesignMediumModel answerBuild a Task Registry and Content-Based Duplicate Finder
Design an in-memory task manager with per-user quotas, priority ordering and audit trails, then detect duplicate files using size filtering and streaming hashes.
Data Structure Designhash-mapssorted-containersfilesystemhashing - Machine LearningHardModel answerConfusion Matrix Rates, Sigmoid Forward Pass, and Activation Choice
Work through a screening-style ML set: pick the confusion matrix matching target TPR/FPR, hand-compute a sigmoid neuron, and justify activation choices per layer.
Machine Learningconfusion-matrixrocsigmoidactivation-functions - System DesignMediumModel answerFrequency Capping at 500K QPS: Low-Latency Ad Eligibility
Design a sharded, in-memory service that decides in under 10 ms whether a viewer has hit ad/campaign caps, with async impression counting and deliberate soft-cap tolerance.
System Designsystem-designrate-limitingdistributed-systemscaching - Heaps, Sorting & SearchHardModel answerIdentify Hidden Conflict with Minimal Oracle Queries
Find one conflicting pair among n items using a black-box oracle that tests subsets, minimizing the number of expensive queries.
Heaps, Sorting & Searchbinary-searchoptimizationoracleinformation-theory - Statistics & ExperimentsHardModel answerDesigning a Two-Sided Marketplace Experiment
Design a rigorous causal experiment for a two-sided platform feature, handling network interference through cluster randomization and spillover measurement.
Statistics & Experimentsexperimentationcausal-inferencemarketplacenetwork-effects - Data Structure DesignMediumModel answerBuild a Configurable Disc-Drop Game Engine
Design and implement a gravity-based four-in-a-row game engine with a clean API, local win detection, and support for arbitrary board sizes and run lengths.
Data Structure Designgame-engineapi-design2d-arraywin-detection - System DesignMediumModel answerBuild an Extensible Event-Driven Trading Strategy Framework
Design a maintainable framework that routes market events to trading strategies, manages order lifecycle, and runs identically in backtests and live trading.
System Designevent-driventradingframework-designextensibility - Data Structure DesignMediumModel answerBuild a Slash-Command Router with Literal and Wildcard Segments
Implement a trie-based router that matches tokenized bot commands to registered handlers, resolving conflicts between exact and parameterized path segments.
Data Structure Designtrieroutingdesignstring-parsing - System DesignHardModel answerDesign a Distributed Scheduling and Calendar Platform
Design a calendar system for millions of users covering event storage, recurring rule expansion, time zone correctness, and a responsive frontend with optimistic updates.
System Designdistributed-systemsdata-modelingfrontend-architecturetime-zones - Statistics & ExperimentsMediumModel answerCTR Confidence Intervals and Variance Decomposition
Derive a pooled click-through rate estimator, compare Wald vs. exact binomial confidence intervals, and separate real day-to-day volatility from sampling noise.
Statistics & Experimentsconfidence-intervalsbinomial-proportionvariancectr