practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6107 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.
- 6107
- Problems
- 2259
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 3571–3600 of 6107 results
- Statistics & ExperimentsHardModel answerRoot-Cause Analysis and Recovery Plan for a Falling Weekly Usage Rate
A product-analytics investigation of a 7-point drop in weekly active-to-enabled adoption, covering metric hygiene, 24-hour triage, hypotheses, experiments, and causal inference.
Statistics & Experimentsproduct-analyticsexperimentationcausal-inferencemetric-definition - BehavioralHardModel answerEngineering Leadership: Ownership, Metrics, and Interpersonal Judgment
Demonstrate technical ownership, data-driven impact, rapid decision-making under uncertainty, and interpersonal maturity across six structured behavioral prompts.
Behavioralleadershipownershipconflict-resolutionfeedback - System DesignHardModel answerBuild a Low-Latency Autocomplete System
Design an autocomplete service that returns ranked suggestions in under 100ms, handling scale, personalization, and freshness.
System Designautocompletecachingrankingindexing - Heaps, Sorting & SearchMediumAuto-gradedSorted Sensor Readings: Answer Interval Coverage Queries
Tests binary search on sorted arrays with duplicates to answer multiple inclusive range queries in O(log n) per query.
Heaps, Sorting & Searchbinary-searcharraystwo-pointers - System DesignMediumModel answerDesign a Text-to-Speech Platform: Scope It, Stress It, Extend It
Prototype a scalable TTS service using a hosted synthesis API, then justify its trade-offs, find its first bottleneck, and plan bulk-document narration support.
System Designtext-to-speechasync-processingapi-designcapacity-planning - System DesignMediumModel answerAccess Control System With Caching and Revocation Guarantees
Design an RBAC authorization service handling fast permission checks, role inheritance, scoped assignments, and bounded revocation delay.
System Designrbacauthorizationcachingdistributed-systems - Heaps, Sorting & SearchMediumAuto-gradedFind the K-th Largest Element Without Using a Heap
Tests implementation of quickselect to find the k-th largest value in an unsorted array, treating duplicates as separate elements.
Heaps, Sorting & Searchquickselectpartitioningselection-algorithms - Data Structure DesignMediumModel answerBuild a Thread-Safe Token Bucket Rate Limiter
Implement a token bucket that refills lazily on each admission attempt, handles concurrent callers safely, and supports both non-blocking and timeout-bounded acquisition.
Data Structure Designconcurrencyrate-limitingsynchronization - StringsMediumModel answerBuild a POSIX Shell Script with Validation and Structured Output
Write a strict POSIX sh script that validates arguments, reads a file, extracts a license string, and prints a formatted timestamped line.
StringsshellPOSIXCLIerror-handling - System DesignHardModel answerDesign a Contextual Pricing Service for a High-Volume Retail Platform
Design a pricing API that handles batch lookups, personalized context, explicit freshness guarantees, and partial failure at one million item evaluations per second.
System Designapi-designcachingbatch-processingfault-tolerance - BehavioralMediumModel answerWalk Through an Analysis You Built Using an AI Tool
Explain a real analytical project where you applied an AI-assisted workflow, validated its output rigorously, handled data responsibly, and connected it to a decision.
BehavioralAI ethicsanalytical rigorproduct judgmentaccountability - Trees & GraphsMediumAuto-gradedBottleneck Path Under an Edge-Weight Cap
Tests whether a candidate can find the minimax-cost path in a filtered graph, recognising that one edge attribute gates inclusion while another drives the optimisation.
Trees & Graphsgraphdijkstraminimaxshortest-path - System DesignMediumModel answerCoordinating Hydrogen and Oxygen Threads into Complete Water Molecules
Design a lock-based coordinator that lets exactly two hydrogen threads and one oxygen thread print as one water molecule, with no spinning, no interleaving, and no starvation.
System Designconcurrencysynchronizationsemaphorescondition-variables - Machine LearningMediumModel answerMulti-Head Attention Forward Pass, Built from Primitives
Implement the forward pass of a multi-head attention layer using only basic tensor operations, handling projections, head splitting, scaled dot-product attention, and masking.
Machine Learningtransformersattentionnumpydeep-learning - Statistics & ExperimentsHardModel answerDesign an A/B Test for a Credit Card Promotional Offer
Plan a two-week experiment to measure whether adding a promotional incentive to a card application page increases risk-adjusted profit per session.
Statistics & Experimentsab-testingexperimentationmetricscausal-inference - Statistics & ExperimentsMediumModel answerDesigning a Marketplace Experiment for a Courier Preference Feature
Design a rigorous pilot study to evaluate a courier-controlled order filter, balancing supply-side satisfaction against customer fulfillment risk in a two-sided marketplace.
Statistics & Experimentsa/b testingmarketplaceexperiment designmetrics - BehavioralMediumModel answerHow to Talk About Compensation Expectations
Communicate a well-researched salary range for an ML Engineer role, justify it with market data, and articulate openness to total-compensation trade-offs.
Behavioralcompensationnegotiationcommunication - Trees & GraphsMediumModel answerCollapsible Nested Menu with ARIA Support
Design and code a React component that displays hierarchical data with interactive expand/collapse behavior and full keyboard accessibility.
Trees & Graphsreactrecursionaccessibilitystate-management - System DesignMediumModel answerPython Environments and Daily Linux Workflow
Explain how Python virtual environments work, when to reach for Conda or Poetry over plain venv, and which Linux commands you rely on to run and debug server jobs.
System Designpythonlinuxdeveloper-toolingenvironment-management - Machine LearningMediumModel answerReview a Feature Preprocessing Class
Critique a Python class that scales numerical features and encodes categorical ones, explaining its design pattern and identifying bugs.
Machine Learningcode-reviewdata-preprocessingdata-leakageml-pipeline - Arrays & HashingMediumAuto-gradedThree-Dice Payout: Expected Value by Match Type
Tests ability to count outcome classes for three N-sided dice and combine probability-weighted payoffs into an expected value, including a sign-flip variant.
Arrays & Hashingexpected-valueprobabilitycounting - BehavioralEasyModel answerHandling a Recruiter Phone Screen for an Engineering Role
Prepare concise, consistent answers to recruiter-screen questions on background, logistics, motivation, and compensation, and know what each answer signals.
Behavioralrecruiter-screenbehavioralstar-frameworkcompensation - BehavioralMediumModel answerLeadership Decision You Owned and an Engineer You Developed
A two-part behavioral question probing a leadership call you personally made and a concrete, deliberate effort to grow an individual engineer.
Behavioralengineering-managermentorshipdecision-makingleadership - Data Structure DesignMediumAuto-gradedBounded Cache with Least-Recently-Used Eviction
Simulate a capacity-limited key–value cache where lookups and writes both refresh recency and the oldest entry is evicted on overflow.
Data Structure Designhash-maplinked-listcachesimulation - StringsMediumAuto-gradedLetter Tile Scorer for a Word-Guessing Game
Tests whether you can implement a precise per-letter color-scoring rule — including count-limited yellow matching — across a list of guesses against a fixed target word.
Stringsstringsarrayshashing - SQL & DataMediumModel answerDaily Spend Leaders and Cost-Efficiency by Campaign Goal
Rank the top daily advertisers with ties, then compute cost per KPI by goal using a launch-date filter and safe division.
SQL & Datawindow-functionsaggregationjoinsdivision-by-zero - Math & Bit ManipulationEasyAuto-gradedCompute Tax Using Marginal Brackets
Tests understanding of piecewise rate application and interval-based accumulation in a tiered tax system.
Math & Bit Manipulationsimulationmathiteration - BehavioralMediumModel answerThree Critical Situations: Conflict, Teaching, and Delivery Risk
Demonstrate professional judgment through three structured examples: resolving technical disagreement, coaching a teammate, and managing a timeline slip.
Behavioralstar-methodleadershipcommunicationaccountability - Trees & GraphsMediumAuto-gradedLetter Access Sets Through a Dependency Graph
Tests topological processing of a DAG where each node computes an active letter set from its parents' resolved sets plus its own additions and removals.
Trees & Graphstopological-sortbit-manipulationgraph - BehavioralHardModel answerScoping an Ambiguous Feature Request and Tying It to a Mission
Turn a vague feature pitch into a scoped v1, one target segment, a mission-derived measurable goal, guardrails, and a 60-minute alignment meeting.
Behavioralproduct-sensescopingstakeholder-alignmentmetrics