practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5978 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.
- 5978
- Problems
- 2214
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 211–240 of 3764 results
- System DesignMediumModel answerBuilding an Automated Playbook Miner for Enterprise AI Agents
Design an end-to-end system that mines reusable agent playbooks from a company's traces and documents, tests them offline, ships them safely to agents, and keeps them current.
System Designllm-systemsagentsml-system-designevaluation - System DesignHardModel answerCost Model for a Two-Matmul MLP Block Across Devices
Derive FLOPs, bytes moved, and collective traffic for a plain two-matmul MLP under several partitioning schemes, then decide which hardware limit binds.
System Designml-systemstensor-parallelismrooflinecollectives - Statistics & ExperimentsHardModel answerDesign an Ad Density Experiment with Safety Boundaries
Design a robust A/B test for introducing additional feed ads, balancing immediate revenue gains against long-term user retention, marketplace side effects, and experimental biases.
Statistics & ExperimentsAB TestingExperimental DesignCausal InferenceMetrics Strategy - BehavioralMediumModel answerFour Behavioral Stories: Impact, Uncertainty, Feedback, Friction
Prepare structured stories showing ownership and measurable impact, handling vague goals, acting on feedback, and managing a tense relationship with a manager or stakeholder.
Behavioralbehavioralleadershipstar-methodambiguity - BehavioralEasyModel answerAnswering Internship Length, Start Date and Return-Offer Questions
Practice giving a precise, honest answer about internship length, start window, full-time conversion and constraints such as classes, visa status and location.
Behavioralbehavioralinternshipavailabilitycommunication - System DesignMediumModel answerBlocking Government-Listed IPs at the Edge of a Global Service
Design a fleet-wide system that rejects connections from IP addresses a regulator flags as prohibited, using only the regulator's per-address lookup API as the source of truth.
System Designsystem-designnetworkingcachingtrie - Data Structure DesignMediumModel answerBuild a Fire-Once Event Gate for Concurrent Threads
Design a thread-safe one-shot event gate with fire, timed wait and non-blocking status check, avoiding lost wakeups, spurious-wakeup bugs and busy-waiting.
Data Structure Designconcurrencycondition-variablethreadingsynchronization - Machine LearningMediumModel answerTwo ML Cases: Predicting Flight Lateness and Screening Faces Against a Watchlist
Design two ML systems end to end: a regression model forecasting flight departure lateness two hours out, and an open-set face-matching pipeline that flags watchlist individuals at a bank entrance.
Machine Learningregressionlabel-leakagetime-series-validationimbalanced-classification - BehavioralMediumModel answerNavigating Noisy Data and Uncertainty in Quantitative Research
Articulate your intellectual drive for quantitative research by framing a past data problem, detailing your statistical approach to ambiguity, and connecting it to financial modeling.
Behavioralquant researchbehavioralstatisticsdata modeling - System DesignMediumModel answerTopic-Based Article Aggregator: Crawling, Dedup, and Feed Serving
Design a service that polls tens of thousands of external publishers, stores articles without duplicates, and serves topic timelines with stable pagination under 50ms p99.
System Designsystem-designschedulingdeduplicationcaching - System DesignMediumModel answerBuild a Multi-Tenant Time-Series Telemetry Backend
Design a horizontally scalable telemetry backend that ingests millions of labeled data points per second, stores 30 days of history, and serves fast label-filtered range queries.
System Designsystem-designtime-seriesobservabilityingestion-pipeline - BehavioralEasyModel answerTell Your Story: Career Summary and Reasons for a Move
Give a concise professional introduction, explain honestly why you are open to a new job, and describe which factors matter most when choosing an employer.
Behavioralbehavioralrecruiter-screenself-introductionmotivation - Data Structure DesignMediumModel answerWeighted Random Picker with Live Weight Updates
Build a container that returns items at random with probability proportional to their weights, supports re-weighting existing items, and keeps picks fast and memory small.
Data Structure Designfenwick-treeprefix-sumsrandom-samplingbinary-search - System DesignHardModel answerLive Courier Fleet Tracking and ETA Platform Design
Design an end-to-end platform that streams courier GPS, computes routes and ETAs, manages order assignment, and powers live maps for dispatchers and customers.
System Designsystem-designstreamingkafkageospatial - Statistics & ExperimentsHardModel answerPricing Dice, Coin and Card Wagers: EV, Arbitrage, Kelly
Price wagers on dice, coins and card draws, detect arbitrage in a quote table, choose a Kelly-based stake size, and estimate the chance of a profit after T rounds.
Statistics & Experimentsexpected-valuekelly-criterionarbitragenormal-approximation - BehavioralHardModel answerStaff Infra Manager Conversation: Career Story, Exit Reasons, Fit
Prepare a three-part conversation for a staff-level backend infrastructure role: a decade-long career narrative, a forward-looking reason for moving, and a grounded mapping to the team's problems.
Behavioralbehavioralstaff-engineerinfrastructurecareer-narrative - Statistics & ExperimentsEasyModel answerAuditing a Regression Model Before You Trust It
Explain how to check whether a regression model with a decent headline error can be trusted, covering splits, leakage, residuals, coefficients, and whether extra complexity is justified.
Statistics & Experimentsregressionmodel-validationresidual-analysismulticollinearity - System DesignMediumModel answerDesign an Enterprise Calendar System
Architect a scalable calendar service handling interval-based queries, concurrent updates, recurring schedules, and real-time user invitations.
System Designsystem-designdistributed-systemscalendartime-series - Data Structure DesignMediumModel answerBuild a Wildcard-Aware URL Router with Literal Priority
Design a router that stores path templates with {name} wildcards and resolves concrete paths to a handler plus captured values, preferring exact segments and backtracking when they dead-end.
Data Structure Designtriebacktrackingroutingstring-parsing - Statistics & ExperimentsHardModel answerComparing Four Marketing Channels on Cost Efficiency via Experiment
Plan a randomized multi-arm experiment to rank four paid acquisition channels by cost efficiency, covering metric, hypotheses, sizing, budget, duration and follow-ups.
Statistics & Experimentsexperiment-designmulti-arm-testgeo-experimentincrementality - Data Structure DesignHardModel answerIn-Memory Bank With Delayed Payments, Cancellation and Spend Ranking
Extend an in-memory bank with delayed payments that can be canceled, record success or failure for each, discard stale entries, and rank accounts by total outgoing money.
Data Structure Designdesign-dsheaplazy-deletionsimulation - BehavioralMediumModel answerTwo Behavioral Stories: A Disagreement and a Hard Limit
Prepare two concise stories for a short behavioral round: one about resolving a disagreement with a colleague, and one about delivering despite a hard limit on time, resources, access or knowledge.
Behavioralbehavioralstar-methodconflict-resolutioncommunication - Statistics & ExperimentsMediumModel answerRaising Reader Giving for a Free, Ad-Free Encyclopedia
Propose a product strategy to increase individual donations to a nonprofit encyclopedia without ads or paywalls, covering metrics, segments, funnel leaks, prioritized ideas and trust guardrails.
Statistics & Experimentsproduct-strategymetricsfunnel-analysisexperimentation - Statistics & ExperimentsHardModel answerDiagnosing a Sudden Dip in Checkout Completion for One City
A city's checkout completion rate fell 8% week over week. Outline how to validate the drop, localize it, form causal hypotheses, test significance, and recommend a recovery plan.
Statistics & Experimentsroot-cause-analysismetric-investigationdifference-in-differencesfunnel-analysis - Trees & GraphsMediumModel answerIdentify Node Value Present Across Most Depth Levels
Find the binary tree node value that appears across the highest number of unique depth levels.
Trees & Graphstrees-graphsbreadth-first-searchhash-table - System DesignMediumModel answerExact Top-1,000 Terms Across a Petabyte of Text Files
Design a distributed batch pipeline that exactly counts term occurrences across petabytes of immutable text and returns the 1,000 most common, handling skew, split edges and retries.
System Designdistributed-systemsmapreducefault-tolerancedata-skew - System DesignMediumModel answerSecure Embedded Bank-Transfer Checkout Component Design
Design a merchant-embeddable bank-payment checkout component: isolated iframe, safe parent-frame messaging, token exchange, asynchronous settlement, and webhook reliability at high scale.
System Designsystem-designpaymentsiframe-securitypostmessage - Statistics & ExperimentsMediumModel answerEvaluating a Revenue-Based Merchant Capital Product
Design a performance measurement and experimentation framework for a merchant lending product balancing capital growth against risk.
Statistics & ExperimentsA/B TestingCohort AnalysisProduct MetricsFinancial Modeling - BehavioralMediumModel answerWalk Through a Hard Project Problem You Personally Solved
Behavioral practice: tell one bounded story about a tough project obstacle, showing your own decisions, teamwork, measurable outcome, and what you would do differently.
Behavioralbehavioralstorytellingownershipincident-response - Statistics & ExperimentsMediumModel answerKids' Book Storage Unit: Users, MVP Scope and Success Metrics
Design a physical book storage product for young children: choose a target user, rank their pain points, set design principles, cut an MVP, and define success metrics with guardrails.
Statistics & Experimentsproduct-senseproduct-designmetricsmvp