practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6077 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.
- 6077
- Problems
- 2253
- Auto-graded
- 15
- Topics
- 271
- Added today
Showing 1861–1890 of 6077 results
- Statistics & ExperimentsHardModel answerDiagnosing and Testing a Drop in Delivery Order Completion Rate
Investigate a 5% week-over-week drop in successful order rate across a two-sided platform using structured diagnostic strategies and causal experimentation.
Statistics & Experimentsmetric investigationroot cause analysisexperimentationmarketplace logistics - Statistics & ExperimentsMediumModel answerWatch-Time Sample: Skew, Percentiles, and Winsorizing
Analyze a 20-point video watch-time sample: judge its shape, compute median, mode and an interpolated p95, compare mean and median, and reason about winsorizing in an A/B test.
Statistics & Experimentsdescriptive-statisticsquantilesskewnesswinsorization - System DesignMediumModel answerDesign a Scalable Multi-Tenant Cloud Development Environment
Architect a cloud IDE platform with hardware-level sandbox isolation, sub-100ms real-time document collaboration, and multi-tenant resource limits.
System Designsystem-designmulti-tenancysandboxingmicrovm - BehavioralMediumModel answerResolving a Technical Standoff With a Colleague
Walk through a real technical disagreement with a peer over design, approach, or priorities, covering how you settled it, what was decided, and what you changed in your own behavior afterward.
Behavioralconflict-resolutioncollaborationbehavioralstar-method - Data Structure DesignMediumAuto-gradedAlias Method Categorical Sampler
Generate discrete random samples according to custom category weights in constant time per sample using Vose's alias algorithm.
Data Structure Designarraysdesign-dsmath-bits - Arrays & HashingEasyAuto-gradedSquare Windows Containing Each Marked Cell
Map each marked grid cell to the sorted top-left corners of all in-bounds 2x2 windows that contain it, testing coordinate arithmetic and bounds handling.
Arrays & Hashinggridhash-mapcoordinatesenumeration - StringsEasyAuto-gradedFilter Valid Credit Card Numbers
Validate a list of card number strings against length, prefix, digit-only, and Luhn checksum requirements.
Stringsstringsarrays - BehavioralMediumModel answerTransitioning Data Science Experience to Finance and Handling Pressure
Learn how to present a data science background effectively for finance analytics roles, explain variance analysis, quantify business impact, and navigate high-pressure stakeholder scenarios.
BehavioralFP&AFinance AnalyticsVariance AnalysisBehavioral Interview - System DesignMediumModel answerBuild a Traffic Distributor for L4 and L7 Backend Pools
Design a software traffic distributor that spreads L4 and L7 requests across a backend pool, with health monitoring, sticky sessions, failover, and its own horizontal scaling.
System Designload-balancinghigh-availabilityhealth-checksconsistent-hashing - Linked ListsMediumAuto-gradedClone a Linked List with Arbitrary Jump Links
Build an independent duplicate of a linked list whose nodes carry both a next link and an arbitrary jump link, using a serialized list-of-records format.
Linked Listslinked-listhash-mapdeep-copypointers - Machine LearningMediumModel answerHarden a Messy Text Ingestor and Triage a Broken ML Training Repo
Design a fault-tolerant parser for noisy text records, hunt down three hidden bugs in a training codebase, and plan how to verify everything within a one-hour budget.
Machine Learningdebuggingdata-parsingdata-leakagepython - Statistics & ExperimentsMediumModel answerSampling from Below-Truncated Normal Distributions
Identify a left-truncated normal distribution, write its probability functions, and compare sampling algorithms like inverse-CDF transform and rejection methods.
Statistics & Experimentsstatisticsprobabilitysamplingdistributions - Data Structure DesignHardAuto-gradedState-Tracked Recipe Basket with Bulk Pricing
Simulate a versioned basket engine that aggregates multi-recipe component quantities for bulk discount calculations, supporting mutations and rollback operations.
Data Structure Designdesign-dsarrayshashing - SQL & DataMediumModel answerMonthly Country Dashboard: Signups, Conversion, Retention, GMV, Campaign
Write a single SQL query that builds a month-by-country report covering signups, 7-day conversion, day-7 retention, valid GMV, and last-touch top campaign, with dedup and UTC handling.
SQL & Datasqlcohort-analysisretentionwindow-functions - BehavioralMediumModel answerMaking the Case for a GPU Company Role: Fit, Impact, Culture
Answer a recruiter screen prompt: why this accelerated-computing company and team, how your data-science work maps to the role, a 90-day plan, and an honest culture-fit assessment.
Behavioralbehavioralhr-screenmotivationrole-fit - Math & Bit ManipulationMediumAuto-gradedMaximum Area of a Rotated Rectangle
Find the largest surface area of any rectangle formed by four vertices chosen from a given set of 2D points.
Math & Bit Manipulationmathgeometryhashingarrays - Machine LearningMediumModel answerPredicting a City's Temperature from Neighboring Towns
Use OLS with an intercept on daily temperature data to summarize variability, fit per-town slopes, and select the best one, two, or five predictor towns by in-sample MSE.
Machine Learninglinear-regressionolsfeature-selectionpandas - StringsMediumModel answerLinked-Field Payment Card Form with Live Validation
Build a browser payment card form where the detected card network drives number formatting, length checks and security-code rules, with validation and a submit callback.
Stringsfrontendform-validationluhninput-formatting - System DesignMediumModel answerObject-Oriented Design for a Multi-Story Parking Facility
Design an object-oriented domain model for managing multi-story parking structures, handling real-time spot assignment, pricing strategies, and concurrency control.
System Designobject-oriented-designdata-structure-designconcurrencysystem-design - Math & Bit ManipulationMediumModel answerSimulate 2048 Mechanics and Pack Grid into 64-Bit Integer
Simulate grid sliding and merging rules for the game 2048, and design a bit-packing scheme to compress the 4x4 state into a single 64-bit integer.
Math & Bit Manipulationbit-manipulationarrayssimulationmatrix - Machine LearningMediumModel answerAnalyzing Deep Learning Pillars: Normalization, Optimization, and Penalties
Evaluate how Batch Normalization, adaptive optimizers, and L1/L2 penalties impact neural network training stability, optimization dynamics, and weight sparsity.
Machine Learningdeep-learningoptimizationregularizationbatch-norm - Machine LearningHardModel answerPredicting Station-Level Micro-Mobility Checkout Demand
Architect an end-to-end machine learning pipeline to forecast hourly bike-sharing demand, covering censoring adjustments, spatial-temporal features, model selection, and backtesting.
Machine Learningmachine-learningtime-seriesdemand-forecastingfeature-engineering - System DesignHardModel answerDesign a Bitemporal Compliance Engine for Securities Trading
Design a bitemporal data model and low-latency system architecture to track effective-dated trading compliance rules and dynamic security identifier resolutions.
System Designsystem designbitemporaldata modelingfinancial systems - SQL & DataMediumAuto-gradedFlag Account Takeovers: New Login Followed by a Large Transfer
Join logins, users and transfers to flag logins from a new device or IP that are followed within two hours by a large transfer to a first-time recipient.
SQL & Datadata-manipulationtime-windowsjoinsfraud-detection - System DesignMediumModel answerWalking Through a Production Data Pipeline You Own
Present one real data pipeline you built or reworked, linking requirements to design choices, rejected options, replay and backfill handling, a hard failure, and what you would change.
System Designdata-pipelinearchitecture-tradeoffsbackfillidempotency - System DesignHardModel answerPolicy Engine for Flagging Company Card Spending
Design a multi-tenant engine that checks card transactions and whole trips against configurable policies, with auditable results and an API that can evolve without breaking clients.
System Designsystem-designrules-enginemulti-tenantapi-design - Greedy & IntervalsMediumAuto-gradedCount Total Pipeline Output Within Time Constraint
Compute the maximum number of items processed by a sequential single-threaded worker within a total allowed time limit.
Greedy & Intervalsgreedyarraysmath - Data Structure DesignMediumModel answerBuild an In-Memory Ledger with Delayed Rewards and Account Merging
Design an in-memory ledger that handles idempotent transfers, top-k senders, rewards posted 24 hours after a purchase, and account merging, and explain how you would test and scale it.
Data Structure Designdesignhash-mapheapidempotency - Machine LearningMediumModel answerArchitectures and PEFT for Medical Summarization
Analyze generative model trade-offs, low-rank adaptation, and alignment techniques for domain-specific medical text summarization.
Machine Learninggenerative-aillmfine-tuningpeft - System DesignMediumModel answerKafka Consumer Groups: Partition Ownership and Rebalancing
Explain how a Kafka consumer group splits partitions, handles offsets and crashes, scales with consumer count, and behaves during a rebalance.
System Designkafkaconsumer-groupsrebalancingoffsets