practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6048 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.
- 6048
- Problems
- 2239
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 4621–4650 of 6048 results
- System DesignHardModel answerDesigning a High-Traffic Campaign Donation System
Build a payment platform for a short-duration global fundraiser with real-time totals, idempotency, fraud prevention, and spike handling.
System Designpaymentsscalabilitydistributed-systemsreal-time - Arrays & HashingEasyAuto-gradedCount Unique Elements in Array
Identify how many values appear exactly one time in an integer array using frequency analysis.
Arrays & Hashinghash-tablecountingfrequency-map - StringsMediumAuto-gradedSliding Tokens: Valid String Transformation
Tests two-pointer traversal, sequence invariants, and directional movement constraints with O(n) time and O(1) space.
Stringstwo-pointersgreedyinvariants - Data Structure DesignHardModel answerBuild a thread-safe sliding-window percentile monitor
Implement a concurrent data structure that tracks latency measurements and computes approximate percentiles over a rolling time window with bounded memory.
Data Structure Designconcurrencypercentileshistogramsliding-window - Dynamic ProgrammingHardAuto-gradedCount Parity-Alternating Subsequences
Tests dynamic programming with state tracking to count subsequences where consecutive elements alternate between even and odd values.
Dynamic Programmingdynamic-programmingsubsequencesparitymodular-arithmetic - Data Structure DesignHardAuto-gradedN-Player High-Card Showdown: Simulate and Score
Tests object-style thinking, round-robin dealing, and deterministic simulation of a card game where each round's highest card wins all played cards.
Data Structure Designsimulationqueuesgame-design - BehavioralEasyModel answerWalk Me Through Your Technical Stack and Why You Built It That Way
Describe the technologies you work with most, the reasoning behind each choice, and the real-world scale at which you've operated them.
Behavioraltech stacktrade-offssystem ownershipcommunication - SQL & DataEasyModel answerHighest Spender in the Company's First Decade
Identify which user spent the most money during the initial ten-year period starting from the company's very first transaction.
SQL & Datasqlaggregationwindow-functionsdate-filtering - Greedy & IntervalsMediumAuto-gradedIdentify Gaps in a Sorted Array Within Bounds
Tests interval reasoning, array traversal, edge case handling with boundaries, and formatting output for missing number ranges.
Greedy & Intervalsarraysintervalsedge-cases - Statistics & ExperimentsHardModel answerUnderstanding the t-Statistic in Hypothesis Testing
Explain the t-statistic formula, its intuition as signal-to-noise, how sample size affects it, and when to use t versus z in practice.
Statistics & Experimentshypothesis-testingstatistical-inferencet-testassumptions - Data Structure DesignMediumModel answerOrder Fulfillment Engine with Backorder Queue
Process a stream of orders and restocks against live inventory, fulfilling backorders in arrival order before replenishing on-hand stock.
Data Structure Designhash-mapqueuesimulationamortized-analysis - System DesignMediumModel answerDesign a Social Feed Service with Real-Time Updates
Build a high-scale microblogging system supporting post creation, social connections, and personalized feeds with near real-time delivery.
System Designdistributed-systemscachingdata-modelingscalability - System DesignHardModel answerBuild an Event-Loop Request Batcher with Deduplication
Design and implement an asynchronous request coalescer that collects individual key lookups into windowed batches, handles deduplication, and correlates responses.
System Designasyncbatchingevent-loopconcurrency - Data Structure DesignMediumModel answerDesign a Money Transfer System with Pending Approvals
Build an in-memory banking service supporting accounts, transaction history, and two-party transfers that only settle when the recipient explicitly accepts.
Data Structure Designconcurrencyidempotencystate-machineobject-oriented-design - BehavioralMediumModel answerCommunicating Project Setbacks to Leadership and Teams
Explain how you've communicated a significant setback—a delay, critical bug, or unwelcome change—to affected parties while maintaining credibility.
Behavioralcommunicationleadershipconflict-resolution - Arrays & HashingEasyAuto-gradedSplice One Sequence Into Another by Index Range
Tests careful list slicing and index boundary handling by replacing a contiguous subrange of one sequence with the full contents of a second sequence.
Arrays & Hashingarraystwo-pointersimplementation - Arrays & HashingMediumAuto-gradedConvolutional Layer Analysis: Shapes, Parameters, and Efficiency
Calculate output dimensions, parameter counts, and multiply-accumulate operations for standard and depthwise separable convolutions.
Arrays & Hashingconvolutional-networksparameter-countingcomputational-complexity - BehavioralMediumModel answerProject Ownership, Collaboration, and Growth: Behavioral Deep Dive
Walk through five behavioral dimensions — impact, conflict, cross-functional trade-offs, failure, and feedback — using structured stories backed by concrete evidence.
Behavioralbehavioralleadershipteamworkcommunication - Data Structure DesignHardAuto-gradedTTL-Aware LRU Cache with Lazy Expiration
Tests ability to design an O(1) key-value store combining LRU eviction with per-entry time-to-live expiration using a hash map and doubly linked list.
Data Structure Designlinked-listshash-mapcachelru - SQL & DataMediumModel answerFix a Promotion Join That Silently Drops Sales Rows
Diagnose and repair a multi-table SQL query that loses rows due to a NULL-breaking join, UTC date bucketing, and promotion fan-out inflation.
SQL & Datajoinsdatetimewindow-functionsdebugging - System DesignEasyModel answerpytest Fixtures, Decorators, and Generators: Core Python Mechanics
Three-part fundamentals question on how pytest fixtures are scoped and torn down, how decorators wrap functions, and how generators stream data lazily.
System Designpythonpytestgeneratorsdecorators - System DesignMediumModel answerMulti-Vendor Order Fulfillment System
Design a service that queries multiple vendor APIs concurrently, selects the best offer within constraints, and coordinates payment with order placement.
System Designdistributed-systemssaga-patternidempotency - BehavioralHardModel answerOwn the Miss and Bridge the Divide
Demonstrate accountability for a project that fell short and navigate a real cross-functional disagreement using structured storytelling and concrete outcomes.
Behavioralaccountabilityconflict-resolutionstakeholder-managementcross-functional - Data Structure DesignMediumModel answerIndentation-Aware Code Folding Engine
Build a class that collapses and restores indentation-defined code blocks, tracking nested fold state and remapping display line numbers after each operation.
Data Structure Designsimulationmonotonic-stackdata-structure-design - Data Structure DesignMediumModel answerShort-Circuit Async Boolean: Cancel Early, Return Fast
Implement an async function that resolves true the moment any concurrent task returns true, cancelling all remaining work immediately.
Data Structure Designasyncioconcurrencycancellationpython - Statistics & ExperimentsHardModel answerBuild an experimentation system for product launches
Design a platform that randomly assigns users to variants, logs their behavior, computes metrics, and determines statistical significance.
Statistics & Experimentsexperimentationstatistical-analysisdistributed-systems - Statistics & ExperimentsHardModel answerDesigning an Experiment to Measure Creative Quality Impact on Ads
Design a rigorous experiment to determine whether higher-quality ad creatives causally improve performance, accounting for advertiser selection bias and marketplace effects.
Statistics & Experimentsexperimentationcausal-inferenceselection-biasa-b-testing - Data Structure DesignEasyAuto-gradedReplay an Operation Log to Answer Versioned Key Lookups
Tests the ability to simulate a versioned key-value store by replaying a sequence of set/delete operations and answering point-in-time key lookups.
Data Structure Designdata structuressimulationhash map - System DesignHardModel answerReal-Time Location Aggregation System with Consensus Protocols
Build a system that aggregates streaming location data into grid cells, surfaces high-activity regions, and compare distributed consensus approaches.
System Designstreamingdistributed-systemsconsensusgeospatial - BehavioralMediumModel answerDemonstrating Value Alignment and Critical Assessment
Articulate why you connect with a specific organizational principle, provide evidence of living that principle under pressure, and offer a substantive critique.
Behavioralculture-fitvaluesleadershipcritical-thinking