practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6064 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.
- 6064
- Problems
- 2246
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 4351–4380 of 6064 results
- Linked ListsHardAuto-gradedFind Where Two Linked Lists Merge
Tests pointer manipulation and list traversal to locate the merge point of two singly linked lists in linear time with constant space.
Linked Liststwo-pointerslinked-listspointer-manipulation - System DesignMediumModel answerHotel Booking Platform: Fast Search, Oversell-Free Reservations
Design a hotel search and reservation system that serves low-latency search from caches while guaranteeing strict, oversell-free transactional booking across multi-night stays.
System Designsystem-designconsistencyidempotencycqrs - Arrays & HashingMediumAuto-gradedNext Ace Probability Given at Least One Ace Already Drawn
Tests conditional probability over sampling without replacement, combining hypergeometric counting with Bayes' theorem to handle a "at least one" conditioning event.
Arrays & Hashingconditional-probabilitycombinatoricshypergeometric - Arrays & HashingMediumAuto-gradedSlot-Aware Feed Deduplication Across Ordered Sections
Tests whether candidates can implement a two-phase, cross-section deduplication policy with per-section slot limits, within-section uniqueness, and optional exempt sections.
Arrays & Hashinghashingsimulationgreedy - Linked ListsMediumAuto-gradedReorder Linked List by Zigzag Level Buckets
Tests pointer-manipulation intuition by reordering a singly-linked list (given as an array) into a zigzag pattern based on partitioning nodes into fixed-size buckets.
Linked Listslinked listsarray manipulationreordering - Dynamic ProgrammingMediumModel answerMaximum Valid-Partition Block Count for Every Prefix
For each prefix of a string, find the maximum number of contiguous blocks it can be split into where every character in a block shares the same frequency.
Dynamic Programmingdynamic programmingstringsfrequency countingprefix processing - BehavioralMediumModel answerWalk Me Through a Technical Project You Owned End-to-End
Articulate a technical project through the lens of your individual decisions, the trade-offs you weighed, and the measurable impact you delivered.
Behavioralbehavioralownershipcommunicationtrade-offs - Math & Bit ManipulationMediumAuto-gradedOptimal Ball Distribution for Maximum Joint Red Probability
Tests ability to formulate and optimize a probability function over discrete allocations with boundary analysis.
Math & Bit Manipulationprobabilityoptimizationmath - System DesignHardModel answerDesign a High-Traffic Event Seat Reservation Platform
Design a seat reservation system for sold-out events that handles millions of concurrent users without overselling, covering holds, payments, and real-time availability.
System Designdistributed-systemsconcurrencypaymentscaching - Statistics & ExperimentsMediumModel answerDesigning and Measuring a Cyclist Courier Program Launch
End-to-end product analytics case: define objectives, operationalize, design a geo-experiment, select KPIs with guardrails, and diagnose a null result for a new cyclist delivery mode.
Statistics & Experimentsexperiment designmetric designmarketplacegeo-experiments - SQL & DataMediumAuto-gradedConditional Sum Aggregation with Group Filtering
Compute filtered totals two ways and group-then-threshold results, mirroring SQL conditional aggregation semantics.
SQL & Dataconditional-aggregationgroupingsimulationpython - Heaps, Sorting & SearchEasyAuto-gradedMinimum Consecutive Gap Frequency
Sort an array, find the smallest difference between adjacent elements, and count how many consecutive pairs share that difference.
Heaps, Sorting & Searcharrayssortingcounting - System DesignMediumModel answerScalable Multi-Dimensional Throttling for an Inference API
Architect a distributed throttle service for an LLM API that enforces per-org request and token limits with sub-5ms latency at 200k RPS.
System Designrate-limitingredisdistributed-systemshigh-throughput - Trees & GraphsHardAuto-gradedMinimum Time to Complete All Build Tasks with Dependencies
Tests ability to apply topological ordering (Kahn's algorithm) to schedule parallel tasks with durations and prerequisite chains, computing the earliest completion time.
Trees & Graphsgraphstopological sortdynamic programmingBFS - Arrays & HashingMediumAuto-gradedThree Probability Puzzles
Tests understanding of optimal stopping, geometric probability, and Poisson processes through three independent probability calculations.
Arrays & Hashingprobabilityoptimal-stoppingpoisson-processgeometric-probability - SQL & DataMediumModel answerPayment Risk Scoring with Rolling Windows and NULL Handling in SQL
Analyze a payments table to rank users by declined volume, flag burst activity in 24-hour windows, and classify each transaction by amount using conditional logic.
SQL & Datawindow-functionsaggregationcase-whennull-handling - System DesignHardModel answerDesign a High-Throughput Product Catalog Sync Pipeline
Architect an async ingestion system that handles billion-scale bulk feed files and real-time single-item edits, prioritizing price/stock updates over heavy image processing.
System Designdistributed-systemsmessage-queuesdata-pipelines - Greedy & IntervalsHardModel answerEqualize Array Range with Bounded Transfers
Find the minimum operations to narrow an array's range below a threshold by transferring bounded amounts between pairs of elements.
Greedy & Intervalsgreedybinary-searchmathoptimization - System DesignMediumModel answerSpring Boot REST API: Controller Design with DTOs and Validation
Build a Spring Boot controller for a banking resource with proper HTTP semantics, request validation, error handling, and tests.
System Designspring-bootrest-apivalidationerror-handling - Dynamic ProgrammingMediumAuto-gradedSmallest Venue Set That Fits a Group
Tests capacity-constrained subset selection with multi-level tie-breaking: fewest venues, then minimum total capacity, then lexicographically smallest ID list.
Dynamic Programmingdynamic-programmingsubset-sumcombinatorics - BehavioralMediumModel answerDeep Project Leadership and Cross-Functional Execution
Describe a complex project covering technical decisions, organizational alignment, stakeholder collaboration, conflict resolution, and measurable outcomes.
Behavioralleadershipcollaborationdecision-making - Statistics & ExperimentsMediumModel answerIs This Playlist Shuffle Actually Fair?
Determine whether a naive shuffle that always picks from the full array produces a uniform distribution, and explain why or why not using probability theory.
Statistics & Experimentsprobabilityshufflealgorithm-analysisrandom-number-generation - BehavioralEasyModel answerWhy Infrastructure? Connecting Your Background to Large-Scale AI Systems
Articulate a compelling, specific case for why you want to build infrastructure for AI systems and how your past work positions you to contribute.
Behavioralmotivationself-awarenessinfrastructurecareer narrative - Data Structure DesignMediumModel answerBuild an Edit History System with Batching
Implement a command history mechanism supporting single edits, grouped operations, and bidirectional traversal through past states.
Data Structure Designundo-redocommand-patternstate-management - Data Structure DesignMediumModel answerBuild a Scoped Owner and a Resizable Container from Scratch
Implement a move-only smart pointer and a generic dynamic array in C++, exercising RAII, the Rule of Five, placement new, and exception-safe resizing.
Data Structure Designc++memory-managementraiimove-semantics - Machine LearningHardModel answerBuild a Click Prediction System for Job Recommendations
Design an ML system that predicts job click probability using member profiles, job attributes, and behavior logs to power ranking at serving time.
Machine Learningml-system-designrankingembeddingsdata-leakage - BehavioralMediumModel answerSRE Ownership: Balancing Velocity vs. Reliability and a Defining Project
Demonstrate how you navigate the tension between shipping features and maintaining system health, then walk through a high-impact project with concrete metrics and personal ownership.
BehavioralSREreliabilityownershipstakeholder communication - StringsHardAuto-gradedMinimum Prefix Extension to Form a Palindrome
Tests whether you can use the KMP failure function to find the longest palindromic prefix of a string and prepend the minimum number of characters to make it a palindrome.
Stringsstringskmppalindrome - BehavioralMediumModel answerNavigating Cross-Team Friction and Learning from a Project That Missed
Demonstrate how you align competing teams around shared goals, own your role in a project failure, and turn specific lessons into changed behavior.
Behavioralcollaborationfailureownershipleadership - System DesignMediumModel answerPrevent Deadlock in Multi-Lock File Transfer
Diagnose a deadlock in code that moves items between locked containers and implement fixes using lock ordering or try-lock strategies.
System Designconcurrencydeadlocklockingmultithreading