practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6005 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.
- 6005
- Problems
- 2225
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 3121–3150 of 3780 results
- Data Structure DesignMediumModel answerQueue Abstraction Design with Multiple Backing Structures
Design a queue interface and implement it using different data structures, analyzing trade-offs between linked lists, arrays, and stacks.
Data Structure Designobject-oriented-designdata-structurestrade-offs - System DesignMediumModel answerBuild a Large-Scale Web Crawler Architecture
Design a distributed crawler that fetches and processes billions of web pages weekly while respecting rate limits and avoiding duplicate work.
System Designdistributed-systemsscalabilitycrawling - SQL & DataMediumModel answerRebooking Rate After Initial Cancellation
Calculate what fraction of users whose earliest appointment was cancelled never scheduled another confirmed or returned appointment afterward.
SQL & Datasqlwindow-functionsctecohort-analysis - System DesignHardModel answerAuditing a Parcel-Routing Scheduler: Bugs, Structures, and Concurrency
Review a Python parcel-routing codebase for correctness bugs, complexity bottlenecks, and thread-safety failures, then propose concrete fixes for each.
System Designcode-reviewconcurrencydata-structurescomplexity - System DesignHardModel answerBuild a Large-Scale Job Scheduling System
Design a fault-tolerant distributed system that executes millions of scheduled tasks with configurable timing, retry logic, and multi-tenant isolation.
System Designdistributed-systemshigh-availabilityscalability - Machine LearningMediumModel answerMulti-Stage Retrieval System for Document Search
Design a scalable retrieval and ranking pipeline for querying 10M documents under 2s latency at 500 QPS with permission enforcement.
Machine Learningretrievalrankingragembeddings - BehavioralHardModel answerNavigating Uncertainty and Owning the Outcome
Describe handling an unclear analytics challenge with missing information and time pressure, including framing, analysis, stakeholder management, and post-launch correction.
Behavioraldecision-makingleadershipcommunicationaccountability - StringsMediumModel answerCompile a Mini Language to Three-Address Code
Parse a small line-based language of assignments and flat if-else blocks, then emit a deterministic three-address IR with temporaries and jump labels.
Stringsparsingcompilerintermediate-representation - Statistics & ExperimentsMediumModel answerDesigning and Measuring a Similar Item Alert System
Design a notification feature for a peer-to-peer resale platform that alerts buyers when similar items are listed, then create an experiment to measure its impact.
Statistics & Experimentsexperimentationproduct-metricscausal-inference - SQL & DataMediumModel answerPairing Clock-In and Clock-Out Records Across Calendar Days
Calculate daily hours worked per employee from timestamp-based clock events, handling midnight transitions and data anomalies.
SQL & Datasqlwindow-functionstime-seriesdata-quality - System DesignHardModel answerBuild a Pipeline Execution Platform for Thousands of Tenants
Design a scalable, multi-tenant CI/CD system that runs Git-triggered job pipelines with strong isolation, fair scheduling, live log streaming, and per-tenant billing.
System Designsystem-designdistributed-systemsschedulingmulti-tenancy - BehavioralMediumModel answerAdapting to Shifting Goals and Leading Through Ambiguity
Demonstrate how you navigate changing requirements, resolve stakeholder conflicts, prioritize competing demands, and build feedback loops when none exist.
Behavioralleadershipadaptabilitystakeholder-managementdecision-making - System DesignMediumModel answerPartition Assignment and Rebalancing in Distributed Consumers
Explain how a distributed message queue assigns partitions to consumers, handles ordering, and recovers from failures through rebalancing.
System Designdistributed-systemsmessagingscalabilityfault-tolerance - Machine LearningMediumModel answerBuild a Recommendation Engine for Content Discovery
Design an ML system that delivers personalized content feeds combining user interests with global trends while maintaining low latency and diversity.
Machine Learningrecommendation-systemsml-system-designpersonalizationretrieval - Machine LearningHardModel answerEnsemble Methods and the Bias-Variance Tradeoff
Explain how bagging, boosting, and random forests reduce prediction error through their effects on bias and variance.
Machine Learningensemble-learningbias-variancerandom-forestboosting - SQL & DataMediumModel answerCalculate Contributor Type Distribution from Activity Logs
Clean and aggregate edit logs to compute daily percentages of documents edited by owners versus anonymous users.
SQL & Datadata-cleaningaggregationjoinspandas - Machine LearningHardModel answerBuild a RAG-powered enterprise document search platform
Design the end-to-end architecture for a production retrieval-augmented generation system serving internal knowledge search at scale.
Machine Learningragsearchml-systemsarchitecture - System DesignHardModel answerDesign a Medication Approval Tracking Platform with Worklists and Digests
Design backend services for managing async insurance approval workflows, including real-time status tracking, a concurrent pharmacist task queue, and scheduled digest emails.
System Designevent-drivenasync-workflowsdistributed-systems - Machine LearningMediumModel answerEvaluating Equity Risk Models for Portfolio Applications
Design a framework to select between two equity risk models by testing forecast accuracy, structural validity, and practical usability in live portfolio decisions.
Machine Learningrisk-modelingmodel-evaluationportfolio-management - Statistics & ExperimentsEasyModel answerThe t-Statistic: Purpose, Mechanics, and Small-Sample Inference
Explain how and why the t-statistic differs from a z-score, what degrees of freedom represent, and how this matters when comparing two strategies on limited data.
Statistics & Experimentshypothesis-testingt-distributiondegrees-of-freedomsampling - SQL & DataMediumModel answerAggregate Event Signal Quality Across Advertiser Pixels
Compute pixel-level signal metrics aggregated to advertiser-day grain, then correlate data quality scores with conversion and revenue performance.
SQL & Datasqlaggregationjoinsweighted-averages - Data Structure DesignMediumModel answerTwo-Player Grid Battle: Terminal Ship Placement and Combat
Build a complete terminal game where two players secretly place ships on grids, then take turns firing until one fleet is destroyed.
Data Structure Designobject-oriented-designgame-logicinput-validationstate-management - System DesignHardModel answerDesign a Self-Destructing Broadcast Messaging System
Design a messaging service where one sender dispatches a message to many recipients, each of whom can read it exactly once before it disappears permanently.
System Designmessagingdistributed-systemsfan-outconsistency - Machine LearningMediumModel answerEvaluate LLM Output Quality and Build a Groundedness Scorer
Design a full LLM evaluation system covering metrics, A/B comparison, hallucination detection, and a Python groundedness scorer that flags unsupported sentences.
Machine Learningllmevaluationhallucination-detectionrag - BehavioralMediumModel answerHolding the Line: Disagreeing with a Senior Stakeholder on a Launch
Describe a specific incident where you pushed back on a senior stakeholder over a data product launch, showing how you quantified risk, influenced without authority, and committed to the outcome.
Behavioralleadershipstakeholder-managementinfluencerisk-communication - System DesignMediumModel answerIdempotent Reminder and Queue-Based Availability Notifications
Design a backend notification system for item-due reminders and FIFO waitlist alerts that survives retries, crashes, and mutable state without sending duplicates.
System Designidempotencynotificationsqueuesconcurrency - Trees & GraphsMediumModel answerRecursive Maximum Search in an Arbitrary Binary Tree
Write a recursive function that traverses a binary tree to locate the largest integer value, accounting for null pointers and negative-only trees.
Trees & Graphsrecursionbinary-treetraversaledge-cases - System DesignHardModel answerBuild a Sync Engine for Multi-Scope IDE Configuration
Design a configuration service that merges settings from org, team, workspace, user, and local scopes, syncs across devices, and handles offline edits with conflict resolution.
System Designdistributed-systemsconflict-resolutionversioning - BehavioralMediumModel answerArticulating Career Direction in a Recruiter Screen
Craft a compelling narrative connecting your background to a target role while explaining your motivation for change in a recruiter phone screen.
Behavioralcommunicationcareer-narrativemotivationinterview-prep - BehavioralMediumModel answerWalk Me Through Your Highest-Impact Engineering Project
Describe a project you owned that produced measurable results, covering the architecture, your specific contributions, trade-offs, and how you quantified success.
Behavioralcommunicationsystem designownershiptrade-offs