practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5981 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.
- 5981
- Problems
- 2215
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 5701–5730 of 5981 results
- System DesignHardModel answerDesign a Video Streaming Service with ABR and Cross-Device Resume
Design a large-scale video platform supporting catalog browsing, adaptive-bitrate playback across devices, cross-device resume, and content ingestion.
System Designstreamingvideocdntranscoding - Statistics & ExperimentsMediumModel answerCovariate Adjustment for Variance Reduction in A/B Tests
Apply regression-based variance reduction when a pre-experiment metric correlates with your outcome, and explain the conditions under which this technique remains valid.
Statistics & Experimentsexperimentationvariance-reductionregression-adjustmentstatistical-power - BehavioralHardModel answerManaging Conflict with Senior Stakeholders
Describe navigating a tense interaction with a senior leader, extracting requirements, documenting decisions, and learning from process failures.
Behavioralstakeholder-managementcommunicationconflict-resolution - Stacks & QueuesHardAuto-gradedEvaluate a Ternary-Chained Arithmetic Expression
Tests expression evaluation using a monotonic/operator-precedence stack to correctly parse and compute a string containing +, -, *, /, parentheses, and nested ternary operators.
Stacks & Queuesstacksexpression evaluationparsingmonotonic stack - BehavioralHardModel answerDescribing Work That Energizes and Drains You
Explain which types of problems and environments bring out your best work as a data scientist, and which you find less motivating.
Behavioralself-awarenessrole-fitmotivation - SQL & DataMediumAuto-gradedRanking Actors by Film Count in a Unified Object Database
Tests filtering credits by role, deduplicating person-movie pairs, validating object types in a shared ID space, and applying a deterministic tie-breaking policy.
SQL & Datadata-aggregationfilteringdeduplication - Arrays & HashingMediumAuto-gradedRetrieve Minimum and Mode from Array
Tests efficient computation of two simple aggregate statistics using optimal data structures and complexity analysis.
Arrays & Hashinghash-mapscountingcomplexity-analysis - SQL & DataMediumAuto-gradedBuild a Deterministic Top-10 Leaderboard with Tie-Breaking
Tests your ability to produce a fixed-size ranked list when scores contain ties, using a stable secondary sort key.
SQL & Datarankingsortingtie-breakingleaderboard - System DesignHardModel answerDesign a Time-Series Observability Platform
Design a platform that ingests, stores, and queries millions of tagged metric streams per second with tiered retention, cardinality guardrails, and sub-second alerting.
System Designtime-seriesmetricscardinalitystorage - BehavioralMediumModel answerNavigate Misaligned Goals Across Engineering Teams
Resolve a conflict between two engineering teams with competing priorities under deadline pressure through structured negotiation and incentive design.
Behavioralleadershipstakeholder-managementconflict-resolution - Data Structure DesignMediumModel answerAccount Ledger with Reservation Expiry and Merging
Design a banking ledger that supports deposits, time-limited transfer reservations, acceptance of reserved transfers, and merging accounts with their pending operations.
Data Structure Designstate-machinereservation-systemunion-findexpiry-handling - Trees & GraphsMediumModel answerBuild a Same-Domain Web Page Crawler
Write a crawler that visits all pages reachable from a start URL, staying within the same domain, avoiding cycles and duplicate fetches.
Trees & Graphsgraph-traversalbfsdfsurl-parsing - Math & Bit ManipulationMediumAuto-gradedCount Pairs Whose XOR Has Exactly K Set Bits
Tests the ability to combine bit counting (popcount) with efficient pair enumeration to find pairs in an array whose XOR contains exactly K set bits.
Math & Bit Manipulationbit manipulationnumber theorycombinatorics - BehavioralMediumModel answerEngineering Judgment in AI Safety and Behavioral Leadership
Discuss your perspective on AI safety and its implications for software work, then answer behavioral questions demonstrating ownership and judgment.
Behavioralleadershipethicsdecision-making - Machine LearningMediumModel answerDesign a Batching Service for GPU Model Inference
Build an online inference system that groups compatible GPU requests into batches to maximize throughput while meeting latency SLAs.
Machine Learningml-systemsbatchingdistributed-systemsgpu - Data Structure DesignMediumModel answerWind Field Tracker for Hot Air Balloons
Build a system that tracks balloon altitudes, computes spatially-varying wind exposure from multiple sources, and identifies stable balloons above a threshold.
Data Structure Designevent-simulationspatial-aggregationtime-based-statedata-structures - Heaps, Sorting & SearchMediumAuto-gradedRank Tournament Leaders by Multi-Level Criteria
Tests sorting and aggregation skills by computing tournament standings with points, goal difference, and goals scored as tie-breakers.
Heaps, Sorting & Searchsortingsimulationaggregation - Heaps, Sorting & SearchMediumAuto-gradedLocate the Transition Point in a Monotonic Boolean Array
Identify the earliest index where a boolean array transitions from False to True, testing binary search on boundaries and edge cases.
Heaps, Sorting & Searchbinary-searcharraysboundaries - SQL & DataMediumAuto-gradedFilter Hosts by Property Count, Rating, and Review Recency
Tests multi-table aggregation with date-windowed filtering, distinct counting, and host-level qualification across inventory, ratings, and coverage.
SQL & Dataaggregationmulti-tabledate-filteringconditional-logic - Trees & GraphsMediumAuto-gradedMaximum Path Gain in a Weighted Tree
Tests tree DP on a weighted tree to find the maximum sum of node values along any root-to-leaf path, using depth-first traversal and subproblem combination.
Trees & Graphstreesdynamic programmingdepth-first search - Statistics & ExperimentsMediumModel answerSegment-Level Profit Analysis for Feature Rollout Decision
Calculate profit impact across customer segments, derive break-even thresholds, and recommend a launch strategy balancing short-term economics with lifetime value.
Statistics & Experimentsexperimentationmetricsbusiness-casesegmentation - Arrays & HashingMediumAuto-gradedValidate Partially Filled Sudoku Grid
Tests ability to check constraint satisfaction across multiple overlapping groups using efficient duplicate detection.
Arrays & Hashinghash-setconstraint-checkingmatrix - System DesignMediumModel answerBackend Architecture for High-Traffic Online Retail Platform
Design a scalable backend for an online retail platform that handles concurrent purchases, prevents overselling, and serves millions of browsing users.
System Designscalabilitydistributed-systemsdatabasesconsistency - Data Structure DesignMediumAuto-gradedIncremental Config Value Store with Dependency Tracking
Tests ability to build a stateful key-value store that resolves integer expressions with named references, propagates updates through a dependency graph, and rejects cycles.
Data Structure Designgraphtopological-sortdesign - Math & Bit ManipulationEasyAuto-gradedCount Subsets With Product Equal to a Power of Two
Tests whether candidates can combine combinatorics (counting subsets) with the insight that a product is a power of two iff every element is itself a power of two.
Math & Bit Manipulationcombinatoricsbit manipulationmath - Machine LearningMediumModel answerAttention Mechanisms, Autoregressive vs Masked Models, and Metrics
Explain attention in modern neural architectures, contrast autoregressive and bidirectional pretraining approaches, and discuss precision-recall tradeoffs.
Machine Learningdeep-learningnlpevaluation-metrics - Heaps, Sorting & SearchMediumAuto-gradedSort Competitors by Vote Position Counts
Tests multi-criteria sorting with position-based vote counting and lexicographic tiebreaking.
Heaps, Sorting & Searchsortingcustom-comparatorcounting - BehavioralMediumModel answerDemonstrating Leadership and Values in Technical Interviews
Prepare for multi-part behavioral rounds that evaluate mission alignment, conflict resolution, ethical judgment, and project ownership through structured storytelling.
Behavioralleadershipcommunicationproject-managementethics - System DesignHardModel answerIn-Memory Document-Tag Store with Thread-Safe Concurrency
Design an in-memory library that manages documents and tags, supports multi-tag intersection queries, and handles concurrent reads and writes safely.
System Designconcurrencyindexingapi-design - Statistics & ExperimentsMediumModel answerDesigning an Experiment to Measure Search Quality
Design an A/B test for a search feature change, define metrics to track button performance, and explain how to assess result quality.
Statistics & Experimentsexperimentationmetricssearchhypothesis-testing