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 241–270 of 5980 results
- System DesignMediumModel answerStreaming Ranking of the Busiest Users Over a Rolling Hour
Design a fault-tolerant stream pipeline that keeps an exact, event-time ranking of the 100 users with the most events in the last 60 minutes, tolerating late data and skew.
System Designstream-processingtop-ksliding-windowkafka - Statistics & ExperimentsMediumModel answerPlanning a Controlled Experiment for a New Signup Journey
Plan a randomized experiment for a revamped first-run experience in a subscription product, size it, monitor it safely, and decide when a gain comes with a rise in support load.
Statistics & Experimentsab-testingexperiment-designsample-sizeguardrail-metrics - BehavioralMediumModel answerFraming Career Transitions and Motivation for Autonomy Software Roles
Learn how to effectively explain job search motivations, company interest, technical background, and past academic choices during technical screening calls for software roles.
Behavioralbehavioralcareer-storytechnical-screeninterview-preparation - Data Structure DesignHardModel answerThread-Safe In-Memory Store and Sliding-Window Counter
Find the concurrency bugs in an in-memory key-value store with expiry and a 300-second hit counter, then fix them with appropriate locking and describe how to test.
Data Structure Designconcurrencyrace-conditionslockingthread-safety - Trees & GraphsMediumAuto-gradedEdge Silhouettes of a Level-Order Binary Tree
Build a binary tree from a level-order list with gaps and report the first and last node of every level, testing BFS level separation and level-order parsing.
Trees & Graphsbinary-treebfslevel-ordertree-construction - Arrays & HashingHardAuto-gradedIdentify Most Popular Three-Page User Sequence
Process website activity logs to compute chronological 3-site visit subsequences and find the most widely performed pattern across unique users.
Arrays & Hashingarrayshash-tablesortingsubsequence - System DesignHardModel answerBuilding a Production Pipeline for Photo Object Recognition
Design a scalable, reliable service that accepts images, runs object-detection models on GPUs, and returns labeled bounding boxes through sync and bulk APIs, with ML lifecycle and operations covered.
System Designml-system-designobject-detectionmodel-servinggpu-inference - System DesignHardModel answerDesign a Real-Time Translation API with Batching
Design an inference backend that aggregates single-sentence translation requests into GPU batches running on a fixed 80 ms execution loop.
System Designsystem-designml-infrastructurebatchinglatency - Data Structure DesignMediumAuto-gradedArticle Reaction Ledger with Recent Reversal Log
Simulate a stream of up/down/clear reactions on articles, maintaining net scores and a bounded log of the three most recent reversals per article, all in constant time per operation.
Data Structure Designhash-mapdequesimulationstate-tracking - BehavioralMediumModel answerAnswering "Why Are You Leaving, and Why Us?" Convincingly
Practice a concise, forward-looking answer that explains your move and links your strengths to a specific team, without criticizing your current employer.
Behavioralbehavioralcareer-motivationcommunicationself-awareness - Statistics & ExperimentsMediumModel answerDiagnosing a Conversion Drop After an App-Install Splash Screen
Work out whether an app-install splash screen caused a fall in first-time buyers from partner links, price the install-versus-order trade-off, and design a test to pick keep, change, or remove.
Statistics & Experimentscausal-inferenceab-testingfunnel-analysisdifference-in-differences - System DesignHardModel answerBuilding a Pipeline for Cross-Modal File Vectorization at Scale
Design a multi-tenant service that turns uploaded documents, images and videos into searchable vectors, covering ingestion, inference, storage, dedup, re-embedding, and operations.
System Designml-system-designembeddingsvector-searchgpu-batching - System DesignMediumModel answerBootstrap a Reproducible Python Workspace and Starter Service
Describe how to take a fresh machine to a pinned, secure, fast-feedback Python workspace and prove it works by scaffolding a small tested CLI and HTTP service.
System Designpythontoolingvirtualenvreproducibility - Arrays & HashingEasyAuto-gradedRank Companion Items by Shared Collections
Count how often each item shares a collection with a target item, then rank by count descending and name ascending, with an optional cap on the result length.
Arrays & Hashinghash-mapcountingsortingco-occurrence - System DesignMediumModel answerArchitect a Multi-Tenant Team Chat Service with Live Delivery
Design a multi-tenant team chat product covering channels, DMs, real-time delivery, history sync, search, and notifications, with per-channel ordering and tenant isolation.
System Designsystem-designreal-timewebsocketssharding - Math & Bit ManipulationMediumAuto-gradedExpected Matching-Rank Pairs in a Random Card Hand
Compute the expected number of same-rank card pairs in a hand drawn without replacement, using linearity of expectation over pairs of cards.
Math & Bit Manipulationprobabilityexpectationcombinatoricslinearity-of-expectation - BehavioralMediumModel answerBalancing Risk, Sales and Engineering Demands on a Payments Data Project
Behavioral prompt: tell a STAR story about competing stakeholder priorities in payments analytics, then show your prioritization, messaging, conflict handling and retrospective.
Behavioralstakeholder-managementprioritizationconflict-resolutionstar-method - System DesignHardModel answerBuilding a Type-Ahead Suggestion Service for a Large Search Box
Design a low-latency type-ahead service that returns ranked, personalized, typo-tolerant, multilingual query suggestions while filtering abusive content and protecting user privacy.
System Designsystem-designautocompletetrieranking - BehavioralMediumModel answerTransitioning from Data Analyst to Technology Consultant
Articulate a compelling narrative for transitioning from internal data analytics to client-facing implementation consulting during an interview screen.
Behavioralbehavioralcareer transitionconsultingstakeholder management - StringsMediumAuto-gradedMinimal Distinguishing Abbreviations for a Word List
Compute, for each word, the shortest leading substring shared with no other entry, using prefix counting or a trie, and return the whole word when none exists.
Stringstrieprefixhash-mapstrings - Data Structure DesignMediumModel answerBuild a Grouped, Promo-Aware, Sorted Receipt Printer
Extend a cart class that turns scanned item names into a receipt: itemized total, grouping by type, a buy-three-get-two-free deal, then alphabetical ordering.
Data Structure Designobject-oriented-designhash-maprefactoringmoney-arithmetic - Data Structure DesignMediumModel answerLayered REST API for Text Condensing with FastAPI
Design a small FastAPI service that accepts text, returns a placeholder-generated summary, validates input, handles errors, and keeps a bounded in-memory history, using clear layers.
Data Structure Designfastapipythonpydanticrest-api - System DesignHardModel answerInput Event Capture and Deterministic Text Replay Design
Design a pipeline that records keyboard, mouse and IME events from several devices, orders them globally, persists a log, and rebuilds the exact typed text on replay.
System Designsystem-designevent-sourcingimewrite-ahead-log - StringsEasyModel answerLetter-Match Feedback Widget for a Five-Letter Word Game
Build a small browser widget that scores a typed guess of up to five letters against a fixed secret word, marking each letter exact, misplaced or absent, with sound input handling.
Stringsstringsfrontendstate-managementinput-validation - Trees & GraphsMediumAuto-gradedFewest Rolls to Park a Sliding Ball in a Grid
Model a sliding ball as BFS over resting positions, where each edge is a full roll until a wall or border, and the target counts only if the ball stops on it.
Trees & Graphsbfsgridgraphshortest-path - System DesignMediumModel answerCI Pipelines with Jenkins and Handling Oversized Log Files
Discuss your delivery-automation experience, design a Jenkins build-and-test pipeline with plugins, and explain how to search a log too big to open without loading it into memory.
System Designjenkinsci-cddevopslog-analysis - Data Structure DesignEasyModel answerResolving Name Clashes Across Two Python Parent Classes
Predict which inherited method runs when a class has two parents defining the same method name, and explain Python's lookup order, super() cooperation, and alternatives.
Data Structure Designpythoninheritancemroc3-linearization - BehavioralEasyModel answerAligning Two Teams After a Technical Disagreement
Tell a true story about a technical dispute with another team, covering the decision process, nontechnical pressures, your role, and how you confirmed lasting alignment.
Behavioralbehavioralconflict-resolutioncross-teamcommunication - Data Structure DesignEasyAuto-gradedRunning Tally per Label from a Replayed Call Log
Replay a log of increment calls and report, for each call, how many times its key has appeared so far, testing hash map counting and a simple operation-dispatch design.
Data Structure Designhash-mapsimulationdesigncounting - Data Structure DesignMediumModel answerDesign an Audio Player Core with Queue Management and Shuffle Logic
Architect the object-oriented structure and state machine for a media player featuring play/pause controls, queue prioritization, looping modes, and deterministic shuffle handling.
Data Structure DesignObject-Oriented DesignState MachineData Structure Design