practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5995 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.
- 5995
- Problems
- 2220
- Auto-graded
- 15
- Topics
- 270
- Added today
Showing 3301–3330 of 3775 results
- Statistics & ExperimentsEasyModel answerDiagnosing a Sudden Drop in Day-14 Cohort Retention
Walk through a structured investigation of an apparent D14 retention decline, separating measurement artifacts from real product regressions.
Statistics & Experimentsretentioncohort-analysisright-censoringmetric-debugging - System DesignMediumModel answerBackend Architecture for a Live Fundraising Platform
Design a scalable donation system handling 5k writes/sec with payment idempotency, real-time aggregation, and strict financial consistency.
System Designpaymentsidempotencyreal-timefinancial-systems - BehavioralMediumModel answerWalk Me Through Your Most Impactful Engineering Delivery
Articulate a career-defining project end-to-end: the problem, your personal ownership, the trade-offs you navigated, and the measurable outcomes you produced.
Behavioralownershipimpactsenior-engineertrade-offs - Statistics & ExperimentsHardModel answerBootstrap vs. Analytic CIs: When and Why They Diverge
Diagnose when a standard analytic confidence interval breaks down and construct a bootstrap CI from first principles, explaining the assumptions and trade-offs of each approach.
Statistics & Experimentsstatisticsconfidence intervalsbootstrapasymptotic theory - System DesignMediumModel answerPromise Concurrency Combinators: all, any, allSettled
Compare how Promise.all, Promise.any, and Promise.allSettled settle, handle failures, and order results, then pick the right one for three real service-orchestration scenarios.
System Designjavascriptpromisesconcurrencyasync - Data Structure DesignMediumModel answerBuild a Policy Engine for Expense Validation
Create a rule evaluation system that checks expense submissions against JSON-defined policies without deploying new code.
Data Structure Designdata-structuresparsingvalidation - BehavioralMediumModel answerHandling a Critical Design Issue Near Launch
You find a serious problem with your system's architecture just before release. Explain your response strategy, decision framework, and communication approach.
Behavioraldecision-makingcommunicationtechnical-judgmentcrisis-management - Machine LearningMediumModel answerRegression Loss Functions, Imbalanced Classification Metrics, and Thresholding
Compare MAE vs MSE for regression, interpret ROC-AUC and PR-AUC under severe class imbalance, design loss functions for imbalanced neural networks, and select classification thresholds rigorously.
Machine Learningloss-functionsclass-imbalanceevaluation-metricsclassification - System DesignHardModel answerBuild a Remote Development Workspace Platform
Architect a service that provisions isolated development environments accessible via SSH, with persistent storage, scheduled automation, and fault tolerance.
System Designdistributed-systemsinfrastructuresecuritystorage - SQL & DataMediumModel answerAd Group Funnel Metrics with Below-Mean CTR Filter
Write a single SQL query that computes cost, CTR, and conversion metrics per ad group, then returns only those with CTR below the unweighted average.
SQL & Datasqlctewindow-functionsnull-handling - BehavioralMediumModel answerTechnical Disagreement and Goal Definition Under Pressure
Navigate technical conflicts productively and transform vague team priorities into concrete, measurable objectives that drive execution.
Behavioralleadershipconflict-resolutiongoal-settingcommunication - Statistics & ExperimentsMediumModel answerTargeting the Right Quantile When Errors Have Unequal Costs
Derive which statistic each loss function optimizes, then translate an asymmetric stockout-vs-overstock cost ratio into a concrete quantile target.
Statistics & Experimentsquantile regressionloss functionsforecastinginventory - System DesignHardModel answerEliminate Duplicates in a Personalized Content Feed
Design a system that ensures each piece of content appears only once in the initial screen of a personalized homepage with multiple thematic rows.
System Designdeduplicationpersonalizationrecommendation-systemscaching - Data Structure DesignMediumModel answerData Structure Selection: Complexity and Trade-offs
Analyze time and space complexity for standard data structures and explain when to use each based on access patterns and constraints.
Data Structure Designdata-structurescomplexity-analysistrade-offs - System DesignHardModel answerBuilding a Two-Phase Transaction Processing Platform
Design a service that processes both instant payments and deferred-settlement transactions with reserved funds, ensuring correctness under failures.
System Designpaymentsdistributed-systemsconsistencystate-machines - BehavioralMediumModel answerIdentifying and Resolving a Critical Skill Gap in Your Team
Describe how you discovered your team was missing an essential capability, evaluated the impact, and took action to address it while maintaining delivery commitments.
Behavioralleadershipteam-developmenthiringcoaching - System DesignHardModel answerDesign a Fault-Tolerant Orchestration Engine for ML Pipelines
Design a multi-tenant ML workflow scheduler that handles versioned DAGs, heterogeneous compute routing, data quality enforcement, and reproducible lineage tracking.
System Designsystem-designmachine-learningdistributed-systemsorchestration - System DesignMediumModel answerDesign a Photo-Sharing Platform with Social Feed and Discovery
Build a scalable backend for uploading images, following users, generating personalized feeds, and suggesting new connections to follow.
System Designdistributed-systemssocial-networksfeed-generationrecommendations - System DesignMediumModel answerReal-Time Fleet Data Platform Architecture
Design a platform to monitor live telemetry from electric vehicles, covering data collection, ingestion, storage, APIs, and operational controls.
System Designreal-time-systemsdata-ingestionAPI-designIoT - System DesignHardModel answerTroubleshooting Production Performance in a Microservices Platform
Debug and resolve a microservices system suffering from elevated latency, errors, and scaling instability using observability data and incident response.
System Designkubernetesobservabilityincident-responseperformance - Statistics & ExperimentsMediumModel answerMeasuring True Value of a New Social Feature Beyond Adoption Metrics
Design metrics and an experiment to evaluate whether a new in-group feature creates genuine platform value or merely shifts existing engagement.
Statistics & Experimentsexperimentationmetricscausalitynetwork-effects - System DesignMediumModel answerReal-Time Chat Delivery for Live Broadcasts
Design a low-latency comment system that fans out viewer messages to millions of concurrent watchers during a live video stream.
System Designreal-timepub-subwebsocketsfanout - Data Structure DesignMediumModel answerComplete Concrete Classes in an Abstract Base Hierarchy
Implement missing methods in concrete subclasses that inherit from abstract base classes while maintaining type safety and LSP compliance.
Data Structure Designobject-oriented-designinheritanceabstractiondesign-patterns - System DesignMediumModel answerBuilding a Large-Scale Internet Page Fetcher
Design an architecture to retrieve and store billions of web pages while respecting site policies and handling failures gracefully.
System Designdistributed-systemsscalabilityfault-tolerance - System DesignMediumModel answerBuilding a Fault-Tolerant Aggregation Layer for Mobile App Startup
Design an API that combines data from multiple backend services into one response, handling failures gracefully when services are down or slow.
System Designmicroservicesfault-toleranceapi-designorchestration - Statistics & ExperimentsMediumModel answerTeller Line Design: Pooled Queue vs Parallel Queues
Compare waiting time, variance, and throughput for a shared single-line system versus independent per-server queues, and design a validation study.
Statistics & Experimentsqueueing theoryprobabilityexperimental designoperations - System DesignMediumModel answerHandling Partial Failure in a Payment Service Method
Analyze a Java method that charges a payment provider then writes to a database, identifying failure scenarios and proposing fixes for consistency.
System Designdistributed-systemsidempotencyerror-handling - System DesignHardModel answerFleet Command Dispatch and Telemetry Reconciliation at Scale
Design a durable, idempotent command pipeline and telemetry reconciliation engine for five million intermittently connected edge devices.
System Designdistributed-systemsedge-computingidempotencytelemetry - Machine LearningHardModel answerDesigning a Critic-Free RL Pipeline for Training Reasoning Models
Build a post-training system for a 70B reasoning LLM using group-relative optimization, exploring advantage estimation, memory efficiency, and reward design.
Machine Learningreinforcement-learningllm-trainingoptimizationdistributed-systems - Machine LearningHardModel answerPredict customer spend with zero-inflated heavy-tailed regression
Build a complete pipeline to forecast 90-day customer value from marketing and behavioral data, addressing zero inflation, multicollinearity, and leakage.
Machine Learningregressionfeature-engineeringmodel-validationinterpretability