practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6035 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.
- 6035
- Problems
- 2235
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 1111–1140 of 3800 results
- System DesignMediumModel answerBuilding a Reliable Future-Dated Money Transfer Scheduler
Design a service that fires transfers at a chosen future time, moves money atomically between accounts, and skips any transfer whose source balance is too low at that moment.
System Designsystem-designschedulerpaymentsidempotency - Statistics & ExperimentsMediumModel answerSign-In Experience Review, Feature Upgrade and Data Protection Plan
A three-part product case: assess a short-video app's sign-in journey, redesign one feature with metrics, and lay out privacy, security and data-integrity controls.
Statistics & Experimentsproduct-senseexperiment-designprivacyauthentication - Trees & GraphsMediumModel answerSame-Host Link Crawler: Sequential and Concurrent Versions
Crawl every page reachable from a seed URL on the same host, ignoring URL fragments, first with one thread and then with a thread-safe parallel design.
Trees & Graphsbfsgraph-traversalconcurrencythread-pool - SQL & DataMediumModel answerCalculate Trailing 12-Month Segment Default Rates
Write SQL to aggregate defaults and accounts over a trailing 12-month window for each customer segment, correctly handling non-consecutive dates and zero division.
SQL & Datasqlwindow-functionstime-seriesaggregation - Statistics & ExperimentsMediumModel answerProfiling and Visualizing Raw Unstructured E-Commerce Data
A guide on auditing, aggregating, and visualizing raw e-commerce event telemetry to evaluate a product launch for executive stakeholders.
Statistics & Experimentsdata qualityexploratory data analysisdata visualizationtime series - System DesignHardModel answerBuilding Fast Daily Metrics Tables for a Photo App Dashboard
Design the derived tables and incremental pipeline behind a photo app's KPI dashboard, then extend it with cohort retention, weekly rollups and a change of reporting timezone.
System Designdata-modelingetlincremental-loadsretention - System DesignMediumModel answerNearby Places Lookup: Architecting a Proximity Search Backend
Design a read-heavy backend that returns places within a given radius of a coordinate, covering spatial indexing, caching, API shape, capacity math, and availability.
System Designsystem-designgeospatialgeohashquadtree - BehavioralMediumModel answerCredit, Structure, Mentorship and Feedback: Five Behavioral Prompts
Answer five common behavioral prompts on credit disputes, chaotic teams, good leadership, career direction, and feedback, using concrete examples and a structured storytelling method.
Behavioralbehavioralleadershipconflict-resolutionfeedback - System DesignMediumModel answerDesigning a Fault-Tolerant Courier Payout Pipeline
Design the hand-off from a courier pay calculation to an external payment service so every courier is paid the correct amount exactly once, even through outages and ambiguous timeouts.
System Designidempotencyreliabilitypaymentsretries - BehavioralMediumModel answerWalking Through a Project You Are Proud Of and Why You Want the Role
Tell the story of a project you are proud of, focusing on your own contribution and evidence, then link your motivations honestly to the role's confirmed responsibilities.
Behavioralbehavioralhr-screenstorytellingmotivation - Machine LearningHardModel answerRescuing a Rare-Event Image Flagger That Predicts Only "Safe"
A logistic regression flagger for rare harmful uploads shows high accuracy but no detections, sparse ID features, and uneven regional quality. Lay out a plan to diagnose and repair it.
Machine Learningimbalanced-datalogistic-regressioncategorical-encodingfairness - Statistics & ExperimentsMediumModel answerMeasuring Incremental Conversions from a Holdout-Based Ad Test
Estimate conversion lift from test and holdout counts, test it, size the experiment to detect a 5% relative lift at 90% power, and restate the analysis in Bayesian terms.
Statistics & Experimentsab-testingtwo-proportion-z-testpower-analysisbayesian - BehavioralMediumModel answerNavigating Project Ambiguity and Communication Obstacles
Demonstrate how you brought clarity to ambiguous requirements, bridged communication gaps across teams, and safeguarded delivery using a specific technical project experience.
Behavioralbehavioralcross-functionalproject-managementleadership - BehavioralMediumModel answerHitting a Hard Deadline by Cutting Scope Wisely
Describe a real project with a fixed deadline, the scope tradeoff you made, how you aligned stakeholders, and how you verified the outcome was acceptable.
Behavioralbehavioralprioritizationdeadlinestradeoffs - BehavioralMediumModel answerValidating Assumptions and Aligning Stakeholders for Permission Model Changes
Outline how to validate high-risk assumptions and secure cross-functional alignment when implementing a major refactor to a product's access control system.
Behavioralproduct-executionstakeholder-managementrisk-assessmentfeature-flags - BehavioralMediumModel answerWalking Through an ML Project You Owned From Idea to Production
Tell the story of a machine learning project you owned, covering goals, data, modeling, evaluation, serving, failures, and lessons, with clear metrics and trade-offs.
Behavioralbehavioralmachine-learningproject-ownershipstakeholder-management - Arrays & HashingMediumModel answerCode Review Drill: Three Pandas Helpers in a Data Pipeline
Explain what three short pandas helper functions do, then propose and justify improvements to their correctness, speed, readability, robustness and testability.
Arrays & Hashingpythonpandascode-reviewvectorization - System DesignMediumModel answerDesign a Payment Authorization, Capture, and Settlement Engine
Architect a resilient payment platform handling two-phase auth/capture flows, double-entry financial ledgering, and batch settlement reconciliation with downstream gateways.
System Designsystem-designdistributed-systemsfinancial-systemsidempotency - System DesignHardModel answerDefend the Architecture of a System You Built, End to End
Walk through a non-trivial system you own, from diagram and invariants to scaling, security, SLOs, a real incident, a 10x plan and a hindsight redesign.
System Designsystem-designarchitecture-reviewscalabilityreliability - System DesignMediumModel answerDesign an Enterprise Assistant for Internal Knowledge and Workflows
Design a secure, low-latency enterprise AI assistant that performs retrieval-augmented generation across internal data sources and executes tool workflows under strict access controls.
System DesignRAGLLMAccess ControlSystem Design - Machine LearningHardModel answerComprehensive Architectural Analysis of Transformers and Variants
Detailed breakdown of transformer mechanisms, computational complexity, stability strategies, structural variants, and domain-specific adaptations.
Machine Learningtransformersattention-mechanismdeep-learningllm - Data Structure DesignMediumModel answerImplement Dynamic Bitwise Masking and Uniform O(1) Set
Construct an XOR string transformation function alongside an expected constant-time randomized container structure.
Data Structure DesignArraysHash MapBit ManipulationDesign - Machine LearningHardModel answerDeciding Whether a New Ads Ranking Model Can Retire the Old One
Judge whether a new ad-ranking model is ready to replace production: pre-launch checks, resolving a CTR vs revenue conflict, experiment design, and an executive-ready readout.
Machine Learningab-testingads-rankingmodel-evaluationguardrail-metrics - System DesignMediumModel answerMulti-Tenant Labeling Service: API Contract and Storage Design
Design a workspace-scoped labeling service with REST endpoints, a schema, a search strategy for AND/OR filtering, and handling of concurrency, idempotency and pagination.
System Designrest-apidata-modelingidempotencypagination - System DesignMediumModel answerDesign a Scalable Food-Item Review and Voting Platform
Design a scalable review, rating, and vote tracking service for a food ordering platform, focusing on data modeling, atomic vote mutations, and read/write path performance.
System Designsystem-designdatabase-designcachingdistributed-systems - Machine LearningHardModel answerImplement Scaled Dot-Product Attention and Manual Backward Pass
Derive and implement the forward and backward passes for scaled dot-product multi-head attention without autograd, alongside causal masking and numerical stability considerations.
Machine Learningtransformersattentionbackpropagationdeep-learning - BehavioralMediumModel answerOptimizing an Inefficient Engineering Workflow or Team Process
Demonstrate your ability to spot systemic operational drag, gain cross-team buy-in using data, implement scalable fixes, and track outcomes without causing collateral issues.
Behavioralbehavioralleadershipprocess-improvementstakeholder-management - Data Structure DesignMediumModel answerBuild a Persistent Key-Value Shell with Tests and CI
Design a single-class interactive key-value shell that saves to disk, handles bad input, logs errors, accepts new commands easily, and ships with unit tests, a README, and CI.
Data Structure Designoopcliunit-testingpersistence - System DesignEasyModel answerTroubleshooting Search Inconsistencies and Inventory Bugs in Web Apps
Outline a structured debugging methodology for diagnosing search and inventory state discrepancies in full-stack applications using targeted tracing and controlled AI code analysis.
System Designdebuggingfull-stackapistate-management - BehavioralMediumModel answerDiscussing a Professional Failure and Its Organizational Impact
Learn how to present a major technical or operational error, detail your immediate response, and show how it drove long-term process improvements.
Behavioralbehavioralleadershipincident-responseownership