practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6097 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.
- 6097
- Problems
- 2258
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 2251–2280 of 6097 results
- Heaps, Sorting & SearchHardAuto-gradedGift Card Waterfall, ZIP Surcharges and Refund Credits
Simulate a stream of purchase and refund events that drain gift cards by expiry priority, surcharge the card remainder by ZIP range, and turn excess refunds into store credit.
Heaps, Sorting & Searchsimulationheappriority-queuebinary-search - BehavioralMediumModel answerPitch Your Background for a Generative Speech and Multimodal Team
Deliver a concise spoken introduction that highlights your relevant projects, personal ownership, tech stack and quantified results, and ties them to a team on diffusion and speech/multimodal models.
Behavioralself-introductioncommunicationownershipdiffusion-models - Dynamic ProgrammingMediumModel answerLeft-to-Right Plus/Times Expression from a Subsequence
Decide whether a subsequence of positive integers, joined by + and * and evaluated strictly left to right, can equal a target, and produce one valid expression.
Dynamic Programmingdynamic-programmingbacktrackingpruningreverse-search - SQL & DataMediumModel answerCourier Earnings Report from a Paginated Payments Feed
Aggregate per-courier earnings for a pay period from a paginated, time-zoned event feed, handling corrections, cancellations, and rounding, with itemized totals.
SQL & Datapythondata-aggregationpaginationtimezones - BehavioralMediumModel answerReflecting on Unexpected Discoveries in Engineering Projects
Demonstrate reflective technical leadership by walking through a complex project where unexpected evidence invalidated your original assumptions and forced a pivot.
Behavioralbehavioralleadershipproject-ownershipdecision-making - Data Structure DesignMediumModel answerBuilding a Slab Pool for Uniform Objects with Alignment Safety
Design a pool allocator that carves equal-sized slots from slabs, hands them out via an intrusive free list in O(1), respects alignment, and packs 9-byte payloads sensibly.
Data Structure Designmemory-allocatorslabfree-listalignment - Trees & GraphsMediumAuto-gradedSparse Vector Overlap Sum and Land Cluster Counter
Combine a merge-style sparse vector dot product with an iterative flood fill that counts 4-connected land clusters, returning both results together.
Trees & Graphstwo-pointerssparse-vectorgriddfs - Data Structure DesignMediumAuto-gradedExecute Sequence of LRU Cache Instructions
Simulate a Least Recently Used (LRU) cache supporting fast lookups, insertions, updates, and capacity evictions across a series of operations.
Data Structure Designhash-tabledoubly-linked-listdesign - Dynamic ProgrammingMediumAuto-gradedCount Grid Walkways Without Three Consecutive Steps
Count valid grid paths composed of horizontal and vertical steps such that no direction is repeated three times in a row.
Dynamic Programmingdynamic-programminggridcombinatoricsmemoization - Data Structure DesignMediumAuto-gradedSerialize and Split Key-Value Store Payload
Encodes a dictionary mapping string keys to string values into a binary protocol payload and splits it into fixed-size byte chunks.
Data Structure Designencodingbinarystringsdesign-ds - Data Structure DesignEasyAuto-gradedReplay a Command Script and Record Box State After Each Step
Simulate an ordered list of color, delay and move commands on a box, tracking cumulative position and total waited time, and return a state snapshot after every command.
Data Structure Designsimulationstate-machinearraysmethod-chaining - Math & Bit ManipulationEasyAuto-gradedRent and Occupancy Targets for a 100-Unit Apartment Building
Apply a simple profit model with fixed costs, a rent-proportional cost and a target return to find a required rent and a required occupancy.
Math & Bit Manipulationmathbreak-evenunit-economicsalgebra - BehavioralMediumModel answerDisagreement and Failure Stories: Two Behavioral Answers
Prepare two structured stories: a substantive disagreement resolved with evidence, and a real personal mistake with remediation, lasting changes, and proof of growth.
Behavioralbehavioralconflict-resolutionownershippostmortem - System DesignHardModel answerDesigning a Multimodal Weapon Ad Moderation Pipeline
Design a scalable multimodal machine learning system to detect and block illegal weapon ads under strict latency and high recall requirements.
System Designsystem designmachine learningcontent moderationmultimodal - BehavioralMediumModel answerDriving a Result Across Teams You Don't Manage
Tell a story about delivering an outcome that depended on other teams with competing priorities, covering alignment, trade-offs, momentum, measurable results and lessons learned.
Behavioralbehavioralcross-functionalstakeholder-managementinfluence-without-authority - Trees & GraphsMediumAuto-gradedMinimum Web Page Hop Distance
Find the shortest distance between two web pages in a directed link graph using breadth-first search.
Trees & Graphsbfsgraphshortest-pathtrees-graphs - SQL & DataMediumAuto-gradedCalculate Monthly Subscription Churn and Revenue Retention
Process monthly user subscription snapshots to compute customer churn rate, gross revenue churn, and net revenue retention metrics.
SQL & Datadata-manipulationaggregationssaas-metricssql - System DesignEasyModel answerAnalyze Concurrency Hazards, Memory Coherence, and System Calls
Answer a three-part operating systems and concurrency question covering Coffman conditions, false sharing, spinlock hazards, and kernel-mode transitions.
System Designconcurrencyoperating-systemscachingmemory-management - Dynamic ProgrammingMediumAuto-gradedDistinct Sub-Multisets That Hit a Target Sum
Enumerate every distinct selection of list elements, each used at most once, that sums to a target, with negatives, zeros and duplicates allowed. Tests backtracking over value counts.
Dynamic Programmingbacktrackingsubset-sumduplicatesenumeration - Machine LearningHardModel answerDesign a Globally Scalable, High-Availability Generative AI Serving Platform
Design a production-grade infrastructure for real-time generative AI inference that supports streaming, low-latency SLOs, multi-region failover, and efficient GPU utilization.
Machine Learningml system designgenaillm servinggpu scheduling - System DesignMediumModel answerSafely Count Regular Files in Directory Trees via Bash
Write a robust Bash function that counts regular files across a directory tree, handling embedded newlines, spaces, leading hyphens, and traversal constraints safely.
System Designbashlinuxshell-scriptingposix - BehavioralMediumModel answerChoosing the Slower Path: A Deliberate Near-Term Sacrifice
Describe a decision where you knowingly passed up an immediate gain to raise your odds of lasting success, and show how you justified it, aligned others, and judged the outcome.
Behavioralbehavioralleadershiptrade-offsstakeholder-alignment - Math & Bit ManipulationMediumAuto-gradedExpected Number of Running Record Highs
Compute the expected number of strict running maximum records for a uniformly random ordering of a collection of numbers.
Math & Bit Manipulationmathprobabilityarrays - System DesignHardModel answerCross-Border Commerce, Real-Time Delivery Promises, and Smart Appliances
Detailed product and technical design frameworks for international cross-border expansion, real-time promise engine architectures, and IoT hardware strategy.
System Designproduct designe-commercesystem designsupply chain - Data Structure DesignMediumAuto-gradedAggregate Executed Call Sequences across Threads
Simulate an execution stream aggregator tracking stack call frequency across threads with custom tie-breaking rules.
Data Structure Designdesign-dsarrayshash-table - BehavioralMediumModel answerPresenting a Past Engineering Project Under Close Questioning
Prepare a 20-minute walkthrough of one project you led, and defend your design choices, the scale you handled, the obstacles you hit, and the toughest problem you solved.
Behavioralbehavioralproject-deep-divesenior-engineertrade-offs - BehavioralMediumModel answerResolving a Statistical Disagreement on Experimentation Methodology
Navigating cross-functional conflict around data analysis, statistical assumptions, and product launch criteria.
Behavioralbehavioralstakeholder-managementexperimentationstatistics - System DesignMediumModel answerDesign a Distributed Task Scheduler and Time-Window Dashboard
Architect a scalable background task scheduling engine and high-throughput query service for inspecting upcoming jobs across flexible dynamic time windows.
System Designsystem-designdistributed-systemsdatabase-designpartitioning - Statistics & ExperimentsMediumModel answerEvaluating Initial vs Subsequent Video Length Differences
Construct a paired statistical workflow, cohort design, time-trend adjustment, and SQL data extraction to analyze if a user's inaugural upload is shorter than later posts.
Statistics & Experimentshypothesis testingpaired t-testwilcoxonconfounding - Arrays & HashingMediumAuto-gradedCan Your Unfinished Poker Hand Overtake a Showdown Hand?
Decide whether a 3 or 4 card poker hand can be filled from the unseen deck into a five-card hand that strictly outranks a revealed five-card hand.
Arrays & Hashingsimulationbrute-forcecombinationspoker