practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6074 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.
- 6074
- Problems
- 2252
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 1771–1800 of 3822 results
- BehavioralMediumModel answerShipping Under Vague Requirements: A Behavioral Walkthrough
Explain how you handled a task with missing requirements: surfacing gaps, sorting reversible from irreversible choices, aligning owners, and tying the result to business goals.
Behavioralbehavioralambiguitystakeholder-managementstar-method - Statistics & ExperimentsMediumModel answerRide-Count Churn Under Random Pricing: Two-Ride Starter
A rider takes two rides on day 1, each fairly priced with probability P. Find the chance of exactly one ride tomorrow and the chance the rider never stops riding.
Statistics & Experimentsprobabilitymarkov-chainabsorbing-statebinomial - BehavioralMediumModel answerRanking Positive Work-Style Statements in a Forced-Choice Test
Explain how to handle forced-choice work-style items where all three statements are positive, and what consistent engineering profile your Most/Least picks should convey.
Behavioralbehavioralforced-choicework-styleself-awareness - Data Structure DesignHardModel answerEagerly Cached Cell Grid with Dependency Tracking
Build a grid of cells that stores integers or sum formulas, keeps every value precomputed for constant-time reads, and refuses any write that would introduce a circular reference.
Data Structure Designgraphtopological-sortcycle-detectioncaching - Data Structure DesignEasyModel answerLayered Scopes for a Key-Value Store with Savepoints
Build an in-memory key-value store whose writes can be grouped into nested, revertable scopes that either merge into the enclosing scope or are thrown away.
Data Structure Designstackhash-mapdesignscoping - Machine LearningHardModel answerCredit Default Risk Model: Design, Cutoff, and Fairness Review
Design an end-to-end default-risk classifier for a lender, from label definition through approval cutoff, fairness testing, explainability and post-launch monitoring.
Machine Learningcredit-riskclassificationfairnesscalibration - System DesignMediumModel answerBuilding a Citation-Accurate Document Q&A Service over PDFs
Design a service that ingests text, scanned and table-heavy PDFs, answers questions with page-level citations, and keeps its index correct as documents are replaced or removed.
System Designragdocument-parsingvector-searchcitations - Data Structure DesignMediumModel answerRun Work Items on Manual Python Threads and Debug Them in Linux
Fan a function out over a list using a fixed number of hand-made Python threads, capture every result or error, join cleanly, then inspect the live threads from the Linux shell.
Data Structure Designpythonthreadingconcurrencylinux - BehavioralEasyModel answerWriting an Effective Prompt to Get Help Debugging Code
Decide which way of asking an AI assistant for debugging help gets the most reliable diagnosis, and justify the choice with trade-offs, edge cases and a worked example.
Behavioralprompt-engineeringai-assisted-debuggingbug-reportsdeveloper-workflow - SQL & DataMediumModel answerWhy Does This Hive INSERT...SELECT Fail or Load Bad Data?
Diagnose a failing Hive INSERT...SELECT into a partitioned ACID ORC table and explain, in order, the fixes for syntax, alignment, casts, partitions, settings and format.
SQL & Datahiveinsert-selectdynamic-partitionstype-casting - System DesignHardModel answerDesigning a Flash-Sale Ticketing Platform Without Overselling
Design a worldwide ticketing service that survives on-sale stampedes, gives fast seat-map reads, and guarantees every seat is sold to at most one buyer.
System Designsystem-designconcurrencydistributed-systemscaching - BehavioralMediumModel answerCareer Pitch: Why You're Moving and What You Led
Deliver a structured recruiter-screen pitch covering your background, reason for moving, interest in a fintech engineering team, and one project where you led technically with measurable results.
Behavioralbehavioralrecruiter-screenleadershipstorytelling - BehavioralMediumModel answerShipping a Data Science Deliverable When the Launch Date Jumps Forward
Describe a time you delivered a data science solution after a sudden deadline cut, covering how you chose scope, brought stakeholders along, and contained risk.
Behavioralbehavioralstar-methodprioritizationstakeholder-management - SQL & DataMediumModel answerBest Video Category by Mean Watch Time in pandas
Compute which category has the highest mean watch time across valid video rows, with null and nonpositive filtering, name lookup, lexicographic tie-breaks, and rounding.
SQL & Datapandasaggregationhash-mapdata-cleaning - SQL & DataMediumModel answerStaggered-Rollout Panel and Weekly Rollup in SQL
Write warehouse SQL that turns daily participation logs into a treatment-aware employee-day panel and a site-week participation table for a staggered-rollout DiD analysis.
SQL & Datasqldifference-in-differencespanel-dataleft-join - SQL & DataMediumModel answerHow a Three-Column MySQL Index Serves Different Queries
Analyze how one composite InnoDB index handles three query shapes, covering leftmost-prefix seeks, ordering, range limits, index condition pushdown, and the cost of row lookups.
SQL & Datamysqlinnodbcomposite-indexcovering-index - System DesignHardModel answerPlanning a Sparse-Expert LLM Training Run on 256 GPUs
Plan an end-to-end training setup for a bilingual sparse-expert language model on about 1T tokens and 256 A100-80GB GPUs, including a path to 1,024 GPUs.
System Designmixture-of-expertsdistributed-trainingexpert-parallelismllm-pretraining - Math & Bit ManipulationMediumModel answerBit-Level Speedups for a Hot Integer Loop
Choose bit-twiddling techniques that cut branch mispredictions and memory traffic in a tight integer loop, justify their correctness, and reason about their CPU and cache effects.
Math & Bit Manipulationbit-manipulationbranchlesspopcountperformance - System DesignHardModel answerBuild a Charge-Once Card Payment Service Behind a Gateway
Design an internal payment service that charges a card at most once per order despite retries, timeouts and crashes, and reconciles its records with an external payment provider.
System Designidempotencydistributed-systemspaymentsreconciliation - System DesignMediumModel answerDesign a Governed Catalog and Access Layer for Vendor Price Data
Design a metadata-driven service that lets quants and PMs find, trust and query licensed vendor market data, with lineage, entitlements, freshness alerts and point-in-time reads.
System Designsystem-designdata-catalogbitemporalentitlements - BehavioralMediumModel answerBehavioral Stories for a Product Analytics Data Scientist Role
Prepare four behavioral stories for a product analytics data scientist: a high-impact project, a disagreement, working with a new stakeholder, and onboarding a teammate.
Behavioralbehavioralleadershipstakeholder-managementconflict-resolution - BehavioralHardModel answerDiagnosing a Sudden Voice Purchase Conversion Drop
Explain how you would investigate a sharp fall in voice-ordering conversion, stabilize it, win over doubtful teams on the fix, and stop it from happening again.
Behavioralincident-responseroot-cause-analysisstakeholder-managementmetrics - System DesignHardModel answerOffline Audio Moderation Pipeline: End-to-End Architecture
Design a batch pipeline that screens stored audio files for policy violations, labels each as safe, unsafe or uncertain, and routes uncertain ones to human reviewers.
System Designml-system-designaudiopipeline-orchestrationhuman-in-the-loop - System DesignHardModel answerDesigning a Continuously Refreshed Merchant Attribute Store
Design a platform that links merchants to external sources, refreshes their attributes on schedule, resolves conflicts with provenance, and serves low-latency reads even when upstreams fail.
System Designsystem-designdata-pipelinesentity-resolutionrate-limiting - Statistics & ExperimentsMediumModel answerBudget Reallocation Plan with Experiment Design and Risk Controls
Design a constrained next-quarter program budget mix to maximize net profit, estimate the upside, and lay out an experiment and analysis plan to validate it.
Statistics & Experimentsexperiment-designbudget-allocationcausal-inferencepower-analysis - BehavioralMediumModel answerPrepare for a values-focused screen with a 90-minute budget
Plan a 90-minute prep, deliver a five-minute opener with a principled challenge, build a mutual-fit rubric, and write an email asking for a shorter interview loop.
Behavioralbehavioralcommunicationculture-fitprioritization - Machine LearningMediumModel answerLearning a Collaboration Closeness Score for Coworker Pairs
Design an ML system that scores how closely any two employees in an organization collaborate, covering signals, proxy labels, training, evaluation, privacy and serving.
Machine Learningml-system-designgraph-learningembeddingslink-prediction - Data Structure DesignMediumModel answerFixing a Lost-Update Race in a Deposit Method You Cannot Edit
Diagnose the race in an account deposit that reads, pauses, then writes, and add locking through a subclass, wrapper or embedding in Python and Go without touching the original type.
Data Structure Designconcurrencyrace-conditionmutexpython - System DesignMediumModel answerDesign a Versioned Product Catalog with Atomic Launches
Design a multi-tenant catalog backend with draft/publish workflows, grouped launches, search, and safe rollback, serving 100K peak read QPS at P99 under 25 ms.
System Designsystem-designcqrsversioningcaching - System DesignMediumModel answerFixing a Type-Ahead Search Box That Shows Stale Results
Diagnose why a React search component sometimes displays results for an older query, then fix it with effect cleanup and request cancellation, and prove the fix with a deterministic test.
System Designreactrace-conditionabortcontrolleruseeffect