practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6002 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.
- 6002
- Problems
- 2223
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 601–630 of 3779 results
- System DesignEasyModel answerTroubleshooting High Latency in a Production Microservice
A guide on investigating and resolving a sudden 15x latency spike on a critical path service in a Kubernetes environment.
System Designincident-responsesreobservabilitykubernetes - Data Structure DesignMediumModel answerBST In-Order Traversal Flow & Priority Queue Dispatcher
Implement an in-order tree iterator with memory constrained by height, followed by a priority queue that handles multi-attribute ordering rules.
Data Structure Designtreesstackheappriority-queue - Math & Bit ManipulationMediumModel answerCompute Courier Compensation for Delivery Trips
Calculate total delivery earnings from start/end times and distances using conditional rates, rush-hour multipliers, and precision rules.
Math & Bit Manipulationmathparsingsimulation - System DesignMediumModel answerDesigning a Flash-Sale Ticketing Platform That Never Double-Sells
Design a ticketing platform that survives a sudden surge when sales open, holds seats during checkout, and guarantees no ticket is ever sold to two buyers.
System Designsystem-designconcurrencyrate-limitinginventory - System DesignMediumModel answerFresh Food Stock and Fleet Tracking Platform Design
Design a backend that follows perishable stock across warehouses and trucks, answers nearest-and-soonest-expiring queries, prevents overselling, and raises expiry warnings.
System Designsystem-designgeospatialstreaminginventory - SQL & DataHardModel answerAnalyzing Noisy A/B Experiment Metrics and SRM in SQL
Write SQL queries to censor crossover exposures, compute 14-day conversion metrics under blackout constraints, and calculate an SRM chi-square p-value.
SQL & DataSQLA/B TestingExperimentationWindow Functions - BehavioralMediumModel answerProject Deep Dive and Relocation Readiness Walkthrough
Present your current role, break down your most ambitious project from goals to business results, and answer clearly about relocating, including preferred places, timing and limits.
Behavioralbehavioralproject-deep-divecommunicationownership - BehavioralMediumModel answerDescribe Your Greatest Impact and an Unplanned Technical Innovation
Structure a response covering a high-impact technical initiative and an accidental innovation, demonstrating senior-level ownership, trade-offs, and measurable organizational outcomes.
Behavioralbehavioralleadershipimpactcareer-narrative - Machine LearningMediumModel answerPresent a Production ML Project You Owned, Start to Finish
Describe a machine learning project you led, covering problem, metrics, data, modeling, validation, deployment, your role, results and lessons, in a way a hiring panel can probe.
Machine Learningml-projectleadershipmetricsdeployment - BehavioralMediumModel answerAligning Cross-Functional Partners When Opinions Collide
Walk through a project where you led a cross-team effort, reconciled conflicting priorities with evidence, and steered the group to a decision and a measurable result without formal authority.
Behavioralbehavioralstakeholder-managementconflict-resolutioninfluence - BehavioralHardModel answerLeading a Ranking Project: Technical Defense and People Stories
Prepare a manager-level walkthrough of a search relevance project plus four people-leadership stories, tying modeling choices and experiments to business results and team outcomes.
Behavioralbehavioralleadershipsearch-rankingstar-method - BehavioralMediumModel answerAnalyzing a Production GenAI Failure and Designing Guardrails
Walk through a real or realistic production Generative AI system failure, detailing the root-cause analysis, algorithmic remediation, evaluation rigor, and ongoing observability.
Behavioralgenerative-airagsystem-designroot-cause-analysis - BehavioralMediumModel answerNarrating a Project You Owned: Scope, Decisions, Impact
Explain a past engineering project from start to finish: the problem, your exact role, key decisions and trade-offs, measurable results, and what you would do differently.
Behavioralbehavioralownershipproject-deep-divetrade-offs - Machine LearningHardModel answerTargeting a Delivery-Fee Promo with an Uplift Model
Design an end-to-end uplift system that picks which 20% of users get a free-delivery offer, covering experiments, modeling, evaluation, budgeted selection, fairness, interference and sequential testing.
Machine Learninguplift-modelingcausal-inferenceexperimentationqini - BehavioralMediumModel answerSenior Behavioral Screen: Success, Conflict, Shifting Mindsets, and Work Culture
Prepare structured responses for four core behavioral themes: impactful execution, handling interpersonal conflict, reconsidering a peer, and identifying key cultural values.
Behavioralbehavioralleadershipconflict-resolutiongrowth-mindset - Trees & GraphsHardModel answerShortest Hop Count Through a Flaky Web Graph
Crawl a website graph from a start URL to an exit page using BFS, retrying transient 5xx failures a limited number of times, and return the minimum hop count or -1.
Trees & Graphsbfsgraph-traversalretry-logicvisited-set - System DesignHardModel answerDesigning a Distributed MapReduce Data Pipeline
Design a large-scale MapReduce batch execution platform covering task scheduling, shuffle optimization, data skew mitigation, fault recovery, and commit semantics.
System Designsystem-designdistributed-systemsmapreducedata-engineering - Stacks & QueuesMediumModel answerArithmetic String Calculator with Operator Precedence
Compute the integer result of a string holding non-negative numbers, four operators and spaces, honoring precedence and truncating division, without eval and with linear time.
Stacks & Queuesparsingstackstringoperator-precedence - System DesignMediumModel answerSpring Framework vs Spring Boot: What Boot Actually Adds
Explain how Spring Boot relates to the core Spring Framework, covering configuration, auto-configuration, servers, dependencies, startup and when to pick each.
System Designjavaspringspring-bootauto-configuration - Data Structure DesignMediumModel answerModeling a Multi-Car Lift Dispatcher with Swappable Policies
Design an object-oriented lift (elevator) control system: classes, per-car state machine, stop ordering, pluggable dispatch, edge cases, and testable core logic.
Data Structure Designobject-oriented-designstate-machinestrategy-patternsimulation - Machine LearningHardModel answerPredicting B2B SaaS Contract Churn After Quality Incidents
Architect an end-to-end machine learning system to estimate customer renewal risk following service instability, covering feature selection, leakage, model tradeoffs, and decision thresholds.
Machine Learningmachine learningchurn predictionfeature engineeringmodel evaluation - System DesignMediumModel answerStorage, Isolation, Orchestration and Speed: Four Engineering Trade-offs
Answer four fundamentals questions: relational vs NoSQL storage, VMs vs containers, what Kubernetes adds beyond Docker, and why Python lags C++ and how to close the gap.
System Designdatabasesdockerkubernetespython-performance - System DesignMediumModel answerTrending Queries Service: Ranking the Most Frequent Searches
Design a scalable pipeline that ingests a high volume of search events and serves low-latency Top-K rankings, both all-time and over recent sliding windows, across multiple regions.
System Designsystem-designtop-kstreamingcount-min-sketch - BehavioralMediumModel answerThree Stories on Self-Study, Customer Misses, and Criticism
Prepare three distinct behavioral stories: teaching yourself a skill, missing a goal and recovering through user feedback, and responding well to critical feedback from peers.
Behavioralbehavioralstar-methodfeedbackself-learning - BehavioralMediumModel answerSupporting a Struggling Engineer and Managing Chronic Underperformance
A two-part manager behavioral prompt on supporting an engineer in a rough patch and handling sustained underperformance fairly, plus which case was the hardest and why.
Behavioralbehavioralengineering-managerperformance-managementcoaching - System DesignMediumModel answerDesign a Concurrent Low-Latency Logging Library
Architect an in-process, multi-threaded logging framework with non-blocking record hand-off, dynamic log filtering, pluggable formatters, and resilient appender management.
System Designobject-oriented-designconcurrencylow-level-designthread-safety - System DesignHardModel answerBuild an AI Agent That Triages and Diagnoses Incoming Tickets
Design an LLM-driven agent that triages tickets, gathers operational evidence, proposes a root cause and fix, and acts only within strict human-approval and safety boundaries.
System Designllm-agentsml-system-designincident-responseretrieval - Statistics & ExperimentsMediumModel answerInvestigating a Sudden Drop in Checkout Conversion
Learn how to systematically diagnose, segment, quantify, and resolve a sudden drop in product conversion metrics under time pressure.
Statistics & ExperimentsConversion RateRoot Cause AnalysisFunnel AnalyticsExperimentation - Statistics & ExperimentsMediumModel answerStatistical Comparison of Two Independent Bernoulli Rates
Evaluate whether two independent coin-tossing experiments with different sample sizes show a statistically significant difference in head probabilities.
Statistics & Experimentshypothesis testingproportionsz-testconfidence intervals - System DesignHardModel answerDependency-Aware Boot Orchestrator for a Many-Core Host
Design a scheduler that boots interdependent services on one multi-core machine as fast as possible, handling failures, resource limits, observability, and extension to a cluster.
System Designschedulingdagtopological-sortconcurrency