practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6063 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.
- 6063
- Problems
- 2246
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 1591–1620 of 6063 results
- System DesignMediumModel answerBuild a Multi-Tenant Time-Series Telemetry Backend
Design a telemetry backend that ingests about 1M samples per second from many services, answers aggregate queries fast, runs alerts, and keeps data cheaply for months with tenant isolation.
System Designtime-seriesingestiondownsamplingcardinality - Trees & GraphsMediumAuto-gradedSmallest Valid Task Schedule with Prerequisites
Produce the lexicographically smallest topological ordering of a directed graph, or report that no ordering exists because of a cycle.
Trees & Graphstopological-sortheapgraphcycle-detection - Math & Bit ManipulationEasyAuto-gradedRecover Total Weight From All Pairwise Crate Readings
Tests the double-counting insight that each item appears in a fixed number of pair sums, so the total equals the sum of the readings divided by a constant.
Math & Bit Manipulationmathcountingpairwise-sumsarithmetic - System DesignMediumModel answerBuild a Time-Series Telemetry Platform for Microservice Fleets
Design a platform that ingests a million telemetry points per second, keeps 30 days of history, and serves dashboard aggregations in under half a second while staying highly available.
System Designsystem-designtime-seriesingestion-pipelinestorage - Math & Bit ManipulationEasyAuto-gradedChance a Pair Tops Another Pair in Four Random Ratings
Compute the probability that two items from one group both beat two items from another group when all four scores are i.i.d. and continuous, using a symmetry and ranking-count argument.
Math & Bit Manipulationprobabilitycombinatoricssymmetrybrainteaser - Trees & GraphsMediumAuto-gradedTree Height and Peak Concurrent Bookings
Compute the height of an index-encoded binary tree without deep recursion, and the minimum rooms needed for half-open time intervals, returned together as a pair.
Trees & Graphsbinary-treeiterative-dfsintervalssweep-line - BehavioralEasyModel answerDefending Your Own Technical Project Under Scrutiny
Present one technical project you led, covering the problem, your own role, how you tested it, the numbers, and where it falls short, and be ready for probing follow-ups.
Behavioralproject-deep-divecommunicationownershipexperimental-design - Math & Bit ManipulationEasyAuto-gradedTally Repeat-Free Three-Digit Numbers Up To a Limit
Count integers from 100 up to a given limit whose three digits are all different, using direct enumeration or combinatorial reasoning.
Math & Bit Manipulationmathenumerationdigitscounting - StringsHardAuto-gradedBuild a Recursive-Descent Decoder for a JSON Subset
Write a strict recursive-descent parser that turns JSON text into Python values and raises ValueError on any malformed input.
Stringsparsingrecursive-descentstringsrecursion - Data Structure DesignMediumModel answerBuild an In-Memory File Store with Quotas and Backups
Implement an in-memory file store with prefix top-N queries, per-user quotas, user merging, and per-user backup and restore that never disturb other users.
Data Structure Designdata-structure-designhash-mapheapin-memory-storage - Math & Bit ManipulationMediumAuto-gradedEarliest Disc Overlap Among Unicycle-Driven Agents
Simulate several disc-shaped agents with forward Euler unicycle motion and report the first time step at which any pair overlaps, with all pairs at that step.
Math & Bit Manipulationsimulationgeometryfloating-pointpairs - Heaps, Sorting & SearchMediumAuto-gradedLongest Uniform Cut Length from Rope Pieces
Find the largest integer length such that cutting every rope into pieces of that length yields at least k pieces; tests binary search over a monotonic answer space.
Heaps, Sorting & Searchbinary-searchbinary-search-on-answermonotonic-predicatearrays - System DesignMediumModel answerComparing Multithreading and Multiprocessing for Low-Latency Systems
Analyze thread vs. process execution models at the kernel, memory, and hardware level, and design a low-latency execution topology for an order book trading engine.
System Designmultithreadingmultiprocessingoperating-systemslow-latency - System DesignMediumModel answerStreaming Voice Agent Architecture with Barge-In Support
Design the backend for a conversational voice agent that listens, reasons and speaks in near real time, serves thousands of simultaneous callers, and handles users cutting in mid-reply.
System Designreal-timestreaminglatencyspeech - Data Structure DesignMediumModel answerReversible Wallet Balance Tracker with Undo and Redo
Design an in-memory wallet class that applies relative changes and absolute resets to an integer-cent balance, with full undo and redo and constant-time operations.
Data Structure Designdesignundo-redostackscommand-pattern - BehavioralMediumModel answerMentoring & Developing Data Science Teammates as a Senior IC
Learn how to answer behavioral interview questions about mentoring junior data scientists, establishing growth frameworks, scaling mentorship, and resolving conflict without direct authority.
Behavioralbehavioralleadershipmentorshipdata-science - Data Structure DesignMediumModel answerReview a Fit/Transform Preprocessing Module and Write a Key Test
Review a small Python preprocessing module with an outlier-capping class and three imputers: explain its purpose, justify fit/transform separation, critique style and imports, and write one key unit test.
Data Structure Designpythoncode-reviewscikit-learnunit-testing - Machine LearningMediumModel answerDesigning a Quality Strategy for Robotic Automated Leaf Counting
Learn how to design a comprehensive test suite for computer vision and robotics systems when absolute ground truth is difficult to determine.
Machine Learningcomputer-visiontestingroboticsground-truth - Trees & GraphsEasyAuto-gradedFind Tree K-th Ancestor for Queries
Answer k-th ancestor queries on a rooted tree efficiently using binary lifting.
Trees & Graphstrees-graphsmath-bitsarrays - BehavioralMediumModel answerWorking With AI Tools and Getting Your Team to Adopt Them
A two-part behavioral prompt: describe how you use AI tools in your own engineering work, then describe a time you got teammates to adopt them, including safeguards and results.
Behavioralbehavioralai-toolsleadershipinfluence - Statistics & ExperimentsMediumModel answerEvaluating Feature Value vs. Exposure in Natural Product Placements
Design an experiment to isolate intrinsic feature value from discoverability and promotional placement, ensuring unbiased measurement of user engagement.
Statistics & ExperimentsA/B TestingExperimentationProduct AnalyticsExperimental Design - Data Structure DesignMediumAuto-gradedReplay-Safe Versioned Record Updates Simulator
Simulate a record store that applies updates with optimistic version checks and per-record idempotency keys, replaying cached results for retries and rejecting reused keys.
Data Structure Designdesignhash-mapidempotencyoptimistic-concurrency - System DesignMediumModel answerBuild a Company-Wide Log Aggregation and Search Platform
Design a scalable platform that collects logs from many services, stores them durably with retention, supports filtered search, survives traffic spikes, and isolates tenants.
System Designsystem-designloggingobservabilitykafka - System DesignMediumModel answerMulti-Tenant Ad Delivery and Performance Analytics Platform
Architect a multi-tenant ad server and analytics engine that reliably serving ads, deduplicates metrics, and aggregates cross-campaign performance stats.
System Designsystem-designdistributed-systemsevent-drivenad-tech - Arrays & HashingEasyAuto-gradedCheck Loan Records for Proper Borrow-Return Order
Scan a time-ordered list of library events and verify each item's history strictly alternates borrow, return, starting with a borrow, using per-item state tracking.
Arrays & Hashinghash-setstate-trackingsimulationvalidation - Stacks & QueuesEasyAuto-gradedWell-Formed Bracket Sequence Checker
Decide whether a string of three kinds of brackets is correctly nested, using a stack to enforce that the most recently opened bracket is closed first.
Stacks & Queuesstackstringmatchingparsing - BehavioralMediumModel answerDemonstrating Engineering Leadership and Navigating Hiring Logistics
Master key behavioral themes—ownership, ambiguity, conflict, and feedback—while effectively communicating hiring logistics and professional trade-offs.
Behavioralbehavioralleadershipcareer-growthstakeholder-management - Data Structure DesignMediumModel answerSingle-Open Async Tooltip Panels with Keyboard Support in React
Design a React popover that fetches data when opened, stays exclusive across many triggers, ignores stale responses, and handles focus, Esc, and outside clicks accessibly.
Data Structure Designreactaccessibilityrace-conditionsfocus-management - BehavioralMediumModel answerPitch Yourself for Quant Research and Walk Through a Rapid Decision
Deliver a short quant-focused introduction, explain your motivation for the role and the firm, and tell a story about a fast, high-stakes call made with limited data.
Behavioralbehavioralquant-researchself-introductiondecision-making - System DesignMediumModel answerBatch-Apply Transform Chains to a Folder of Photos
Apply every transform chain to every photo, in order, with deterministic output names, no repeated decoding, and a design that parallelizes cleanly.
System Designparallelismbatch-processingimage-processingmultiprocessing