practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6069 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.
- 6069
- Problems
- 2250
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 1711–1740 of 3819 results
- BehavioralMediumModel answerFour Behavioral Stories: Feedback, Conflict, Motivation, Failure
Prepare structured stories on giving feedback, resolving a disagreement, explaining why you want a marketplace employer, and owning a mistake, with follow-ups on impact and lessons.
Behavioralbehavioralstar-methodfeedbackconflict-resolution - Machine LearningMediumModel answerFrom Raw Text to Aligned Assistant: Building and Testing an LLM
Walk through how a foundation model becomes a safe, helpful assistant: pretraining, SFT versus preference optimization, reward modeling pitfalls, and evaluation including reward hacking detection.
Machine Learningllmrlhfdporeward-modeling - Statistics & ExperimentsMediumModel answerBootstrap: Measuring Variance Versus Shrinking It
Explain whether resampling can make an estimator more precise, separating bootstrap standard errors from bagging, with one example where it fails and one where it helps.
Statistics & Experimentsbootstrapbaggingvarianceresampling - System DesignMediumModel answerWalking Through a Python venv Bootstrap Shell Script
Explain each line of a bash script that builds a Python virtual environment, predict its output and files, and argue why shell automation suits environment setup.
System Designbashpython-venvpipautomation - Statistics & ExperimentsHardModel answerWhy Did Engagement Rate Fall After a New Feed Module Shipped?
Diagnose a fall in home-page click rate in an A/B test where DAU and time spent are flat, covering metrics, diagnosis steps, segment cuts, and a rollback-or-iterate decision framework.
Statistics & Experimentsab-testingmetric-designroot-cause-analysissegmentation - BehavioralMediumModel answerOwning and Defending a Major Backend Project Under Probing
Prepare to present one significant backend project, then justify its decisions, trade-offs, measured impact and lessons through repeated follow-up questions that test ownership and judgment.
Behavioralbehavioralproject-deep-diveownershiptrade-offs - StringsHardModel answerOrdered Index Pairs Whose Concatenation Reads the Same Backwards
Given distinct lowercase words, list every ordered index pair whose concatenation is a palindrome, doing much better than checking all pairs.
Stringspalindrometriehashingkmp - Data Structure DesignMediumModel answerPointers vs References in C++: Semantics and API Design
Contrast C++ raw pointers with references, choose the right parameter and return types for four trading-engine APIs, and explain how aliasing affects optimization.
Data Structure Designcpppointersreferencesapi-design - Machine LearningMediumModel answerWalk Through and Stress-Test Your Own Alpha Signal Research
Describe a signal-research project you built, defending how the signal was defined, scored, modeled and validated, and what the evidence does and does not prove.
Machine Learningquant-researchinformation-coefficientbacktestingfeature-engineering - Data Structure DesignMediumModel answerPython Deep Dive: Concurrency, Generators, Typing and Memory
Nine-part Python fundamentals review covering the GIL, concurrency models, decorators, generators, typing, packaging, profiling, memory management and exceptions.
Data Structure Designpythongilconcurrencygenerators - System DesignMediumModel answerHighly Available Order Service With Durable Async Jobs
Design a horizontally scalable Spring Boot order backend that survives deploys and traffic spikes while guaranteeing that invoice and email jobs are never lost.
System Designspring-boothigh-availabilitymessage-queuetransactional-outbox - Trees & GraphsHardModel answerPrincipal Types for a Tiny Lambda Calculus
Build an AST for variables, lambdas and applications, then infer each expression's most general function type using unification, with an occurs check to reject infinite types.
Trees & Graphstype-inferenceunificationhindley-milnerast - Statistics & ExperimentsEasyModel answerWhy Age-Restricted Orders Fail More Often, and How to Test a Fix
Diagnose why one product category has a lower fulfillment rate on a delivery platform, choose data to confirm each cause, and analyze a randomized fix using a two-sample t-test.
Statistics & Experimentshypothesis-testingt-testproduct-metricscausal-inference - System DesignMediumModel answerTurning JSON Point Data into Lines via a Third-Party Drawing Service
Describe how to parse JSON point data, decide how points connect, build the drawing service's request, and recover safely from failures without creating duplicate drawings.
System Designapi-integrationjson-parsingidempotencyerror-handling - SQL & DataHardModel answerTableau Blend vs Join: Targets Against Sales Walkthrough
Work out exact join and blend results on two small tables, then explain how filter order, fan-out and granularity change the numbers and when blending is the better choice.
SQL & Datatableaudata-blendingjoinsorder-of-operations - System DesignMediumModel answerDesign a Multi-Provider Money Transfer Price Comparison Service
Design a service that gathers remittance quotes from many providers, computes true customer cost against a mid-market rate, and clearly marks stale or missing data.
System Designsystem-designcachingfault-tolerancedata-normalization - System DesignMediumModel answerCatalog Backend for a Multi-Retailer Grocery Delivery App
Design the service that ingests retailer product, price and stock data and serves store-scoped browse, search and item pages, while keeping checkout prices consistent.
System Designsystem-designcatalogdata-ingestionsearch - Trees & GraphsMediumModel answerTallying a Tree of Message-Passing Processes
Each tree node is an isolated process with only async send and blocking receive. Design a protocol so the root learns the tree size, tolerates lost and duplicate messages, and returns a structured result.
Trees & Graphsdistributed-systemsconvergecastidempotencyretries - Math & Bit ManipulationMediumModel answerStable Softmax, Sliding Variance and Balanced Partition
Three short coding tasks: an overflow-safe softmax, an O(1) sliding-window variance with a ring buffer, and splitting positive integers into two groups with the smallest sum gap.
Math & Bit Manipulationsoftmaxnumerical-stabilitywelfordsliding-window - BehavioralMediumModel answerWalking Through a Technical Choice You Made and What It Cost
Prepare a structured account of one real engineering decision: the options you weighed, your own role, the evidence behind it, the costs you accepted, and what would make you reverse it.
Behavioralbehavioraltrade-offstechnical-decisionownership - SQL & DataEasyModel answerWhy a Garden Mulch Report Loses Its Non-Promo Days
Diagnose a multi-join SQL report that undercounts mulch sales, trace the lost rows step by step, and rewrite it to return all 30 days with correct totals.
SQL & Datasqlleft-joinwhere-vs-ondate-spine - System DesignMediumModel answerBuild a Short-Post Social Feed Platform at Scale
Design a backend for a social platform where users publish brief posts, follow each other, and read a recent-posts home feed, covering feed delivery, storage, caching, and abuse controls.
System Designsystem-designnews-feedfan-outcaching - Arrays & HashingMediumModel answerScoring Parsed Payroll Form Output Against Ground Truth
Write a scorer that compares fields extracted from tax forms to a ground-truth mapping, normalizing keys and currency, then reporting match rate, missing and mismatched fields, and precision/recall.
Arrays & Hashingdata-normalizationhash-mapsevaluation-metricsprecision-recall - BehavioralMediumModel answerDriving a Vague Project to a Shippable Result
Tell a structured story about a project with unclear goals: how you scoped it, aligned stakeholders, shipped an early version, and let feedback reshape the plan.
Behavioralbehavioralownershipambiguitystakeholder-management - Statistics & ExperimentsEasyModel answerExplaining Significance Results to Non-Technical Stakeholders
Explain in plain language what a p-value measures, why it matters for ship-or-don't-ship decisions, and which common misreadings a strong answer should avoid.
Statistics & Experimentsp-valuehypothesis-testingab-testingcommunication - BehavioralMediumModel answerTelling Your Career Story and Explaining Why This Team
Practice a structured answer that links your past impact to a specific team, showing clear motivation and avoiding generic reasons for wanting the job.
Behavioralbehavioralmotivationcareer-narrativehiring-manager - System DesignMediumModel answerLease-Based Task Dispatch for a Pool of Human Reviewers
Design a platform that routes skill-specific manual tasks to human operators with leases, heartbeats, fair prioritization, and safe automatic reassignment after failures.
System Designsystem-designtask-queueleasesdistributed-systems - System DesignMediumModel answerPrepare a Flash-Sale Platform for a 50x Traffic Surge
Audit a small web stack ahead of a 50x traffic spike, pick the three most dangerous weaknesses, propose fixes, and plan the work for three engineers over four weeks.
System Designarchitecture-reviewscalabilityavailabilitycaching - System DesignHardModel answerBuilding a Reliable Earnings Pipeline for Gig Delivery Couriers
Design a service that turns courier delivery lifecycle events into correct, auditable payouts, covering idempotency, ordering, time zones, data repair, and reconciliation.
System Designsystem-designidempotencyevent-drivenpayments - System DesignMediumModel answerDesigning Reliable Benchmarks and Regression Tests on Shared Clusters
Describe how to run performance benchmarks and functional regression tests as separate tracks, and how to cut a benchmark's shared-cluster footprint while keeping results comparable.
System Designqabenchmarkingregression-testinghpc