practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6077 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.
- 6077
- Problems
- 2253
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 4141–4170 of 6077 results
- Machine LearningMediumModel answerDesigning an Agent That Writes and Tunes GPU Kernels
Design an agent that generates and optimizes GPU kernels and compiler passes, covering validation strategy, correctness checks, numerical tolerances, and performance evaluation.
Machine Learningml-systemscompilersgpuagents - Statistics & ExperimentsHardModel answerA/B Test Design with Clustered Users and Sequential Looks
Design a statistically rigorous A/B test that accounts for within-cluster correlation and daily interim checks while controlling the false-positive rate.
Statistics & Experimentsa/b testingpower analysissequential testingclustered randomization - BehavioralMediumModel answerMarketplace PM Behavioral: Motivation, Growth Areas, and Execution
Answer three behavioral prompts for a two-sided marketplace PM role: your interest in the company, a weakness you're addressing, and leading cross-functional delivery.
Behavioralproduct-managementmarketplaceleadershipself-awareness - SQL & DataMediumAuto-gradedWeekly Cohort Activity Retention Analysis
Group users by signup week, compute seven-day activity retention rates, and handle zero-retention cohorts correctly.
SQL & Datadata-analysiscohort-analysisretentionaggregation - Machine LearningHardModel answerNearby Venue Feed: Real-Time Top-K Ranking as You Explore a Map
Design a low-latency system that surfaces the most relevant K venues within a moving map viewport, covering spatial indexing, candidate retrieval, personalized re-ranking, and caching.
Machine Learningml-system-designgeospatialretrievalranking - Machine LearningHardModel answerDynamic Retrieval Depth Selection in a Recommender Pipeline
Design a system that decides, per request, how many candidates to pass from the recall stage to the heavy ranker in a recommender system.
Machine Learningrecommender systemsretrieval-rankingcompute optimizationML system design - Math & Bit ManipulationMediumAuto-gradedFour Numbers, One Target: Arithmetic Reachability
Tests combinatorial search over arithmetic expressions, exact rational arithmetic, and division-by-zero handling to decide if four numbers can combine to a target.
Math & Bit Manipulationbacktrackingrecursionmath - BehavioralMediumModel answerBehavioral Interview Mastery: STAR Answers for SWE Onsites
Practice the ten most common behavioral questions asked in software engineering onsites using the STAR framework with quantified impact.
BehavioralSTAR frameworkleadershipownershipconflict resolution - System DesignMediumModel answerDesign a Multi-Cloud GPU Fleet Manager CLI
Design the architecture and reconciliation logic for a CLI tool that provisions and manages GPU VMs across heterogeneous cloud providers.
System Designclistate-managementidempotencycloud - Data Structure DesignHardAuto-gradedIn-Memory Row Store with Filter, Sort, and Projection
Tests ability to build a stateful table abstraction that processes insert and query operations with filtering, sorting, and column projection.
Data Structure Designdesignsimulationsorting - Machine LearningMediumModel answerCourse recommender aligned to a user's target job skills
Design an end-to-end system that suggests learning courses matching a user's job-search or role goals, including job-posting text extraction, ranking, evaluation, and guardrails.
Machine Learningrecommender-systemsfeature-engineeringrankingcold-start - Arrays & HashingMediumAuto-gradedFind All Triplets That Sum to a Target Value
Tests efficient two-pointer technique with sorted arrays, duplicate handling, and edge-case reasoning.
Arrays & Hashingtwo-pointerssortingdeduplication - Data Structure DesignMediumModel answerRandom Draw from a Mutable Membership Set in O(1)
Build a container that registers and removes integer keys and returns a uniformly random current key, all in average constant time.
Data Structure Designhash-maparrayrandomizedconstant-time - Machine LearningHardModel answerDesign a Real-Time and Batch AI Model Serving Platform
Design a cloud inference platform that serves ML models at scale, covering hardware selection, autoscaling, multi-tenancy, cost controls, and safe deployment strategies.
Machine Learningml-system-designinferencekubernetesgpu - Math & Bit ManipulationEasyAuto-gradedSteady-State Junction Temperature With and Without Heatsink
Compute a component's junction temperature from power dissipation and series thermal resistances, both before and after adding a heatsink.
Math & Bit Manipulationthermal-modelingarithmeticembedded-systemssteady-state - System DesignMediumModel answerFrontend System Design: Multi-Device Photo Albums
Design the client architecture, normalized state, paginated sorted photo lists, direct-to-storage uploads, and near-real-time sync for a multi-device photo album web app.
System Designfrontendstate-managementreal-timefile-upload - Machine LearningMediumModel answerMinimize Squared Error: Deriving the OLS Slope and Intercept
Derive the closed-form least-squares estimators for a simple linear model by minimizing MSE, and reason through what breaks when input variance is zero.
Machine Learninglinear-regressioncalculusOLSstatistics - Heaps, Sorting & SearchMediumAuto-gradedGrouped Median Property Price by Region
Tests ability to compute per-group medians over a list of records, correctly handling odd/even counts, duplicate values, and half-up rounding to two decimal places.
Heaps, Sorting & Searchsortinggroupingmediandecimal-precision - Trees & GraphsMediumAuto-gradedGroup Accounts by Shared Identity Fields
Tests the ability to model transitive relationships between records using Union-Find (DSU) to identify connected components linked by shared attribute values.
Trees & Graphsunion-findconnected-componentshashing - System DesignHardModel answerDesign a Consent-Aware Distributed Load-Shedding System
Design a distributed controller that sheds megawatts of electrical load across millions of smart devices within seconds while honoring user preferences, device safety rules, and fairness.
System Designdistributed-systemsreal-timeoptimizationiot - Machine LearningHardModel answerDiagnosing and Fixing Fragility in Marketing Mix Models
Identify and resolve common failure modes in a marketing mix model with correlated channels, structural breaks, and endogeneity.
Machine Learningcausal-inferencemarketing-analyticsbayesian-methods - BehavioralEasyModel answerWalk Me Through a Complex Technical Project You Owned
Present a significant technical project end-to-end, covering architecture decisions, trade-offs, your personal ownership, a real obstacle you overcame, and measurable outcomes.
Behavioralstorytellingsystem-designownershiptrade-offs - StringsEasyAuto-gradedArrange Garment Sizes in Standard Order
Tests understanding of counting sort for a fixed alphabet, achieving linear time complexity instead of comparison-based sorting.
Stringscounting-sortstring-manipulationlinear-time - Statistics & ExperimentsMediumModel answerReal-Time Payment Approval: Risk Scoring and Rule Design
Walk through accept/decline decisions for two flagged transactions and design at least three fraud-mitigation strategies, explaining the false-positive vs. chargeback trade-off.
Statistics & Experimentsfraud detectionexperiment designrisk scoringthreshold optimization - Statistics & ExperimentsMediumModel answerDesign an A/B Test for an Autonomous Vehicle Model Update
Design a statistically sound online experiment to evaluate a path-planning model change in a fleet of autonomous vehicles operating in a shared traffic environment.
Statistics & ExperimentsA/B testingcausal inferenceexperiment designinterference - Greedy & IntervalsMediumModel answerPacking a Fixed-Size Block from a Large Mempool with CPFP
Design a fee-maximizing transaction selector for a size-capped block, extend it to parent/child dependencies with CPFP scoring, and derive a minimum child fee.
Greedy & Intervalsgreedyknapsackdependency-trackingcryptocurrency - BehavioralMediumModel answerTaking on Unfamiliar Work: Growth Through Calculated Risk
Describe a time you chose work outside your expertise, why you took it, how you prepared, and how it shaped your approach afterward.
Behavioralbehavioralleadershipgrowth-mindset - Trees & GraphsMediumModel answerMinimum Arrival Time in a Scheduled Transit Network
Find the earliest time a traveler can reach a destination station given a fixed train timetable, then reconstruct the full itinerary with transfers and waits.
Trees & Graphsgraph-searchdijkstrabfstime-expanded-graph - Statistics & ExperimentsMediumModel answerCausal Inference with Propensity Scores in Observational Studies
Explain propensity score matching, when to use it for causal inference, what assumptions must hold, and how to verify that matching produced comparable groups.
Statistics & Experimentscausal-inferencepropensity-scoresexperimental-designstatistics - SQL & DataHardModel answerMulti-Stage Funnel Analysis in SQL: Windows, Dedup & Rollups
Write ANSI-SQL to build a windowed conversion funnel, attribute acquisition channels, flag bot-like campaigns, deduplicate near-duplicate events, and compute rolling unique viewers.
SQL & Datafunnel-analysiswindow-functionsCTEsdeduplication