practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6110 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.
- 6110
- Problems
- 2262
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 2431–2460 of 6110 results
- Statistics & ExperimentsMediumModel answerIs a Second Season Worth Its Production Budget?
Estimate the incremental revenue from greenlighting a second season using retention odds with and without the show, find the break-even audience, and critique the key assumptions.
Statistics & Experimentsexpected-valueincremental-analysisbreak-evenretention - BehavioralEasyModel answerPresent a Data Science Project From Problem to Impact
Give a structured, concrete account of one data science project you led, covering framing, metrics, data, method, validation, risks, results, and next steps.
Behavioralbehavioraldata-scienceproject-walkthroughmetrics - Trees & GraphsMediumAuto-gradedBest Net Reward Route to an Underscore Node in a DAG
Find the highest net score of a route in a weighted DAG that ends at a node whose name starts with an underscore, using topological order and DP.
Trees & Graphsgraphdagtopological-sortdynamic-programming - Machine LearningMediumModel answerModel Fit, CNNs, RNNs, Transformers and Ensembles: ML Fundamentals
A broad machine-learning fundamentals question covering model fit diagnostics, augmentation, CNNs, RNNs, transformer encoders, dropout and ensemble methods.
Machine Learningoverfittingbias-variancecnntransformers - BehavioralMediumModel answerNailing the Recruiter Intro Call for a Software Engineer Role
Plan concise, credible answers to seven common recruiter-screen questions, from your background and stack to motivation, stress, remote work and interest in an industry domain.
Behavioralrecruiter-screenbehavioralcommunicationstar-method - System DesignMediumModel answerBuilding a Concurrent Rendering Pipeline for Placeholder Substitution
Design a horizontally scalable backend that renders millions of placeholder-substitution jobs per hour using queues and worker pools, with fault tolerance, backpressure, and sensible job routing.
System Designworker-poolproducer-consumermessage-queuebackpressure - Greedy & IntervalsMediumModel answerMatrix 90-Degree Clockwise Rotation and Maximum Interval Coverage
Rotate a square grid 90 degrees clockwise and identify regions of maximal overlapping intervals using a sweep-line algorithm.
Greedy & Intervalsarraysgreedy-intervalsheaps-sorting - Data Structure DesignMediumAuto-gradedIdentify Winning Move in Bottom-Inserted Drop Game
Simulate a custom grid game with bottom-insertion pushes to detect the earliest turn that forms a line of length k.
Data Structure Designarrayshash-tablesimulationdesign-ds - Arrays & HashingEasyAuto-gradedReverse Array Segment Between First Two Target Occurrences
Reverse the subsegment of an array from the first occurrence of a target value up to its second occurrence.
Arrays & Hashingarraystwo-pointersslicing - System DesignHardModel answerBuilding an Async Prompt-to-Clip Rendering Service on a GPU Fleet
Design a durable, fair, and safe asynchronous service that turns text prompts into 10-second clips using slow, expensive GPU inference at roughly ten thousand requests per hour.
System Designml-system-designgpu-schedulingjob-queuefault-tolerance - BehavioralMediumModel answerData Science Leadership: Data Foundations, Conflicts, and Velocity
Demonstrate data science leadership across technical foundation building, cross-functional conflict resolution, and managing speed versus precision trade-offs.
BehavioralLeadershipData GovernanceStakeholder ManagementPrioritization - Statistics & ExperimentsHardModel answerLaunching Peer Payments in a Chat App: Metrics, Tests, Risks
Plan the first 90 days of a person-to-person payments feature in a chat product: pick goals and metrics, price it, run a network-safe experiment, fall back to DiD, and flag risks.
Statistics & Experimentsexperiment-designnetwork-interferencedifference-in-differencesproduct-analytics - Math & Bit ManipulationEasyAuto-gradedCalculate Expected Score from Multi-Stage Die Rerolls
Computes the optimal decision threshold and overall expected payoff when given one optional reroll on an N-sided die.
Math & Bit Manipulationmathprobabilityexpected-valuedynamic-programming - System DesignHardModel answerBatching Service for Autocomplete Inference with Fixed Batch Time
Design a low-latency serving stack that groups autocomplete requests into fixed-duration accelerator batches, sizes the fleet, handles failures, and critiques the fixed-time premise.
System Designsystem-designllm-servingbatchingcapacity-planning - Statistics & ExperimentsHardModel answerFitting Simplex-Constrained Action Weights for a Usage Score
Estimate non-negative, sum-to-one weights for four user actions predicting time spent, handle collinearity, quantify uncertainty, stabilize with priors, and tune Elastic Net by cross-validation.
Statistics & Experimentsconstrained-regressionmulticollinearitybootstrapbayesian-priors - Math & Bit ManipulationEasyAuto-gradedDetermine Animal Quantities in a Barn
Find the integer count of each animal species given the total legs and proportional species constraints.
Math & Bit Manipulationmathalgebra - System DesignMediumModel answerBuild a Scheduler and Runner Platform for Automated Test Suites
Design a platform where teams declare automated tests, trigger or schedule them, run them on shared compute, and query status, logs, artifacts and history reliably at scale.
System Designsystem-designdistributed-systemsschedulingci-cd - Data Structure DesignMediumModel answerThread-Safe Recurring Task Engine
Design and implement a concurrent background scheduler that manages recurring execution intervals, supports execution cancellation, and handles thread-safe termination.
Data Structure Designconcurrencyheapsthreadsdesign - Stacks & QueuesMediumAuto-gradedRounds of Pruning in a Garden Row
Count how many rounds of simultaneous removals occur in a row of numbers where each element larger than its left neighbor is removed, using a monotonic stack to beat quadratic simulation.
Stacks & Queuesmonotonic-stacksimulationarraysamortized-analysis - Math & Bit ManipulationMediumAuto-gradedMaximize Disjoint Letter Coverage
Find the maximum count of distinct letters that can be collected by picking a mutually disjoint subset of strings.
Math & Bit Manipulationbit-manipulationbacktrackingdynamic-programmingstrings - System DesignMediumModel answerDesign an Enterprise AI Gateway for Heterogeneous Models
Design a high-throughput, multi-tenant AI proxy layer featuring unified OpenAI-compatible routing, token-aware rate limiting, low latency overhead, and PII masking.
System Designsystem-designai-gatewayllm-infrastructurerate-limiting - Trees & GraphsMediumAuto-gradedCommon Ancestor of Two Values, Only If Both Exist
Find the lowest common ancestor of two values in a level-order encoded binary tree, returning null when either value is missing from the tree.
Trees & Graphsbinary-treelowest-common-ancestorparent-mapbfs - Trees & GraphsMediumAuto-gradedMaximum Subtree Weight for Every Node in a Network
Find the maximum sum of a connected component containing each node in an undirected tree using dynamic programming with rerooting.
Trees & Graphstrees-graphsdynamic-programmingtree-dprerooting-dp - Math & Bit ManipulationHardModel answerNumbers with Double Sum-of-Squares Decompositions
Count unique pairs of non-negative integers whose squares sum to a target value, identifying numbers with exactly two representations up to a limit N.
Math & Bit Manipulationmath-bitsarraysmath - Machine LearningHardModel answerArchitecting an End-to-End Causal Machine Learning System
Design a production-grade causal pipeline detailing DAG specifications, doubly robust estimation, off-policy evaluation, sensitivity bounds, and constrained policy deployment.
Machine Learningcausal-inferenceuplift-modelingdouble-robustoff-policy-evaluation - System DesignMediumModel answerBuild a Fleet-Wide Log Search Platform at 100K Lines/Second
Design a platform that collects logs from many microservices, keeps them for 30 days, and supports fast searches by service, time window, and text or regex pattern.
System Designsystem-designlog-pipelinekafkaindexing - Arrays & HashingMediumAuto-gradedRunners on a Road Frozen by a Sweeping Guard
Simulate runners advancing along a road while a guard turns at given seconds and freezes anyone in view, using parity of duplicate turn times and strict event ordering.
Arrays & Hashingsimulationhash-mapcountingparity - BehavioralMediumModel answerPresenting System Architecture and Proposing Process Improvements
Learn how to present a technical project end-to-end and constructively discuss team process challenges and influence strategies during software engineering interviews.
Behavioralbehavioralsystem-architectureleadershipcollaboration - Stacks & QueuesMediumAuto-gradedWidest Span Between Two Dominating Ends
Find the longest subarray whose two end values are each strictly larger than everything between them, using a monotonic stack to avoid checking all pairs.
Stacks & Queuesmonotonic-stackarraysnearest-greateramortized-analysis - Statistics & ExperimentsHardModel answerPlant-Based Menu Investment: Business Case & Pilot Design
Evaluate a $13M plant-based menu expansion using market sizing, incremental unit economics, cannibalization risks, real option staging, and pilot experimental design.
Statistics & Experimentsexperimentationbusiness-caseunit-economicscausal-inference