practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5980 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.
- 5980
- Problems
- 2215
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 5731–5760 of 5980 results
- Statistics & ExperimentsMediumModel answerSubscription Economics: Lifetime Value and Break-Even Analysis
Calculate per-customer profitability for a subscription business with promotional periods, operating expenses, and attrition costs under different scenarios.
Statistics & Experimentsunit-economicsfinancial-modelingbreak-even-analysis - Trees & GraphsMediumModel answerBuild a File Owner Aggregator for Code Review Assignment
Parse Git diffs and a CSV ownership map to identify which contributor owns the most modified files in a branch comparison.
Trees & Graphsgitfile-iocsvaggregation - System DesignHardModel answerBuilding a Production CI/CD System with Custom Job Orchestration
Design a complete continuous integration and delivery platform for a large monorepo, with emphasis on the job scheduler that coordinates pipeline execution.
System Designci-cddistributed-systemsschedulinginfrastructure - Math & Bit ManipulationMediumAuto-gradedExpected Flips for Random Walkers to Collide on Octagon
Tests Markov chain modeling, symmetry reduction, and first-step recurrence equations for a two-particle random walk problem.
Math & Bit Manipulationprobabilitymarkov-chainsrandom-walksexpected-value - Data Structure DesignMediumModel answerTime-Ordered Credit Bucket Manager
Build a ledger tracking credit buckets with expiration windows, supporting out-of-order events, priority-based consumption, and point-in-time balance queries.
Data Structure Designheapsevent-orderingtime-seriesdata-structures - Arrays & HashingMediumAuto-gradedCalculate Upper-Tail Probability for Binomial Distribution
Compute the exact cumulative probability P(X ≥ k) for a binomial random variable, testing understanding of numerical stability in probability calculations.
Arrays & Hashingprobabilitybinomial-distributionnumerical-methods - System DesignMediumModel answerBuilding Access Control and Immutable Audit Systems
Design a low-latency authorization framework and tamper-proof audit logging infrastructure for a high-throughput financial application.
System Designauthorizationaudit-loggingdistributed-systemssecurity - BehavioralMediumModel answerMerging Two Compile-Time Integer Sequences in C++
Combine two std::index_sequence types into one using template metaprogramming without deep recursion.
Behavioralc++templatesmetaprogramming - Stacks & QueuesMediumAuto-gradedReconstruct Call Events from Profiler Snapshots
Tests stack trace interpretation, event inference from sparse data, and algorithmic reasoning about nesting and correctness.
Stacks & Queuesstacksalgorithmsdata-structures - System DesignHardModel answerBuild a Scalable Chunk-Based Storage Deduplication System
Design an enterprise-grade deduplication storage service handling petabyte-scale data with content-addressed chunking, distributed indexing, and safe garbage collection.
System Designdistributed-systemsstoragescalabilitydata-integrity - StringsMediumAuto-gradedFirst Unique Character and Highest Class Average
Tests hash-based frequency counting for strings and grouped numeric aggregation with exact average comparison.
Stringshash-mapstring-manipulationaggregation - Machine LearningHardModel answerBuilding a Reliable Math Computation System with LLMs
Architect a production system that uses language models to solve mathematical problems by orchestrating symbolic computation, code execution, and tool integration.
Machine Learningllmtool-useevaluationproduction-ml - Dynamic ProgrammingMediumAuto-gradedSelect Numbers to Maximize Score with Neighbor Elimination
Tests dynamic programming on sparse integers and hash map frequency counting to find the optimal subset when adjacent values conflict.
Dynamic Programminghash-mapsortinghouse-robber-variant - Data Structure DesignMediumAuto-gradedAggregated Multi-Venue Liquidity Tracker with BBO and NBBO
Build a system that maintains liquidity across trading venues and efficiently queries best prices per venue and across all venues.
Data Structure Designheapsdata-structureslazy-deletion - SQL & DataHardModel answerRolling Window Metrics and Multi-Role Activity Analysis
Build SQL queries to calculate rolling 7-day caller engagement rates and single-day participation thresholds for geo-filtered active users.
SQL & Datasqlaggregationwindow-functionstimezone-handling - Dynamic ProgrammingMediumAuto-gradedMaximum Length of Mirror Subsequence
Tests dynamic programming on strings to find the longest subsequence that is identical when reversed.
Dynamic Programmingdynamic-programmingstringssubsequences - Machine LearningHardModel answerBuild a Documentation and Data Q&A System with LLMs
Design an end-to-end RAG system that answers questions from product documentation and queries user-specific metadata with secure, tenant-isolated access.
Machine Learningretrieval-augmented generationllmsystem architectureauthorization - Arrays & HashingHardAuto-gradedBayesian A/B Test Launch Decision with Cost Tradeoffs
Tests whether a candidate can combine Bayesian posterior updating with expected-value analysis to make a statistically grounded product launch decision.
Arrays & Hashingbayesian-inferencedecision-analysisab-testing - Arrays & HashingMediumAuto-gradedPeak Subarray, Lone Value, and Spiral Grid Traversal
Tests Kadane's algorithm with tie-breaking, frequency-based minimum selection, and counterclockwise skip-step grid simulation in one combined function.
Arrays & Hashingarraysdynamic-programmingsimulation - Greedy & IntervalsMediumAuto-gradedBudget-Constrained Round-Trip Selection
Tests greedy selection and sorting to maximize items within a budget while minimizing cost for that maximum count.
Greedy & Intervalsgreedysortingarrays - Machine LearningMediumModel answerDesign and Deploy a Production ML System
Describe a machine learning system you built from problem definition through deployment, covering architecture, modeling choices, evaluation, and production concerns.
Machine Learningml-system-designproduction-mlarchitectureexperimentation - Data Structure DesignMediumModel answerManaging a Live Event Stream with Pause and Statistics
Build a React hook that processes a high-speed event stream with deduplication, sorting, memory limits, pause/resume, and rolling time-window metrics.
Data Structure Designreacthooksstate-managementstreaming - Data Structure DesignMediumModel answerRPN Calculator and Lock-Free Queue Implementation
Build a macro-enabled expression evaluator and implement a thread-safe ring buffer with proper memory ordering.
Data Structure Designconcurrencymemory-managementcompilersdata-structures - System DesignHardModel answerBuild a Cloud File Sync and Storage Platform
Architect a scalable system for storing, synchronizing, and sharing files across devices with versioning, conflict resolution, and offline support.
System Designdistributed-systemsstoragesyncconsistency - Data Structure DesignMediumModel answerBuild a Rule-Based Access Control Evaluator with Expression Parsing
Design and implement an access decision engine that evaluates ordered security rules with conditions expressed in a custom expression language.
Data Structure Designparsinginterpretersrecursioncompiler-design - System DesignMediumModel answerReservation Platform and High-Throughput Event Aggregation
Build a seat reservation backend with strict consistency and a live vote counter handling millions of writes per second with eventual consistency.
System Designconcurrencydistributed-systemsstreamingdatabases - SQL & DataMediumModel answerCumulative Loss Projection Across Policy Renewals
Compute the projected total loss from each policy renewal onward, summing the current period's loss with all subsequent renewal periods.
SQL & Datawindow-functionsaggregationinsurance - System DesignHardModel answerBuild Pipeline Engine: DAG Scheduling and Log Streaming
Design a CI backend that ingests code events, executes dependency-ordered job graphs on worker fleets, and streams live build logs to developers.
System Designdistributed-systemsstreamingscheduling - Arrays & HashingEasyAuto-gradedCorrecting Sampling Bias When Counting Children Per Household
Tests whether a candidate can identify and reverse length-biased sampling to recover true household-level proportions from child-level survey data.
Arrays & Hashingprobabilitysampling-biasweighted-estimation - Statistics & ExperimentsHardModel answerCompare Two Proportions with Unequal, Clustered Samples
Construct and interpret a confidence interval for the difference in conversion rates when observations are clustered within groups, not independently drawn.
Statistics & Experimentsstatisticsconfidence intervalsclusteringproportions