practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6043 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.
- 6043
- Problems
- 2238
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 1261–1290 of 3805 results
- System DesignEasyModel answerSpot the Wrong Claim About HTTP Status Code Classes
Pick the one false statement among four claims about HTTP status code families, then explain the client-versus-server split and why it matters for retries, alerting, and API design.
System Designhttpstatus-codesweb-protocolsapi-design - System DesignMediumModel answerSafety Subsystem for a Warehouse Robot Near People
Design a real-time perception and decision pipeline that keeps a mobile warehouse robot from hitting workers, covering fusion, a 50 ms latency budget, stop-versus-slow logic, and sensor failures.
System Designroboticssensor-fusionreal-time-systemssafety-critical - System DesignHardModel answerDesign a Container Assignment System with Compatibility Constraints
Design an automated container packing platform that optimizes cargo placement under weight, volume, and hazmat rules, supporting async runs, plan overrides, and strict determinism.
System Designsystem-designdistributed-systemsoptimizationconstraint-programming - Data Structure DesignMediumModel answerDesign a Spreadsheet Data Model with Dependent Cell Evaluation
Design the internal data structures and API for a spreadsheet engine supporting raw inputs, computed values, dependency tracking, and formula evaluation.
Data Structure DesignData Structure DesignGraphCachingDependency Tracking - System DesignMediumModel answerDesign a Real-Time Collaborative Task List
Architect a low-latency, real-time shared task list supporting concurrent edits, item reordering, explicit synchronous durability, and reconnection recovery.
System Designsystem-designwebsocketsreal-timeconcurrency - Math & Bit ManipulationEasyModel answerHandling IEEE 754 Floating-Point Limits in JavaScript
Understand JavaScript numeric edge cases, floating-point precision constraints, and how to safely implement custom checks without built-in helpers.
Math & Bit Manipulationjavascriptieee-754numeric-precisiontype-coercion - BehavioralMediumModel answerResponding to Work Status, Education Checks, and Multi-Level Alignment
Learn how to present U.S. work authorization, resolve resume discrepancies, align narratives across multiple role levels, and present minicase preparation plans during an HR screen.
BehavioralBehavioralRecruiter ScreenInterview StrategyCareer Leveling - System DesignEasyModel answerCompletely Purge Docker Host Resources
Demonstrate how to safely and completely clear containers, images, volumes, custom networks, and build caches from a Docker daemon environment.
System Designdockerdevopslinuxcli - Statistics & ExperimentsEasyModel answerQuantifying Weather Impact on Mental Well-Being
Design an observational study using panel data to isolate the causal impact of ambient temperature on daily mood scores while controlling for confounders and reporting bias.
Statistics & Experimentscausal inferencepanel datafixed effectsobservational study - System DesignHardModel answerDesign a Flash-Sale Resilient Inventory Engine
Design a multi-warehouse e-commerce inventory system handling flash sales without overselling, focusing on high availability, concurrency control, and idempotency.
System Designsystem-designconcurrencydistributed-systemscaching - Statistics & ExperimentsMediumModel answerModeling Early-Life Payment Counts and Their Drift Over Time
Model a skewed, zero-heavy count of early user payments, place its key summary statistics, predict how they move at a later horizon, and pick robust reporting metrics.
Statistics & Experimentscount-datazero-inflationheavy-tailssurvivorship-bias - Machine LearningHardModel answerClassifying Imbalanced Clinical Outcomes Under Heavy Missing Data
Architect an end-to-end binary classification pipeline for readmissions with missing data, extreme class imbalance, metrics choice, and feature-engineered logistic regression.
Machine Learningmissing-dataclass-imbalancelogistic-regressionevaluation-metrics - Machine LearningMediumModel answerImpact of Zero Initialization on Neural Networks and Linear Models
Analyze why setting all weights to zero causes hidden unit symmetry in deep networks while remaining functional for single-layer models.
Machine Learningdeep-learningneural-networksgradient-descentmodel-architecture - SQL & DataMediumModel answerExposure Rate of Violating Content: Ex-ante vs Ex-post Views
Write SQL that labels each view by the moderation decision known at view time and by the final decision, computes daily prevalence per country, and ranks the top creators by violating share.
SQL & Datasqlwindow-functionsas-of-joinlateral-join - Data Structure DesignMediumModel answerDesign a Multi-Tenant Security Event Enrichment Engine
Design and implement an in-memory pipeline to enrich telemetry events and evaluate dynamic suppression rules with multi-tenant scoping and fault tolerance.
Data Structure Designdesignobject-orientedmulti-tenancypipelines - Statistics & ExperimentsEasyModel answerDetermining Initial-Year Net Profit Percentage
Calculate first-year net profit margin given sales volume, unit pricing, unit cost, and fixed operating expenses.
Statistics & Experimentsunit economicsprofit marginfinancial metricsquantitative reasoning - Arrays & HashingMediumModel answerUniform Random Array Partitioning into K Segments
Divide an array into K non-empty contiguous slices such that every valid partition is equally likely to be selected.
Arrays & Hashingarraysmath-bitsheaps-sorting - System DesignMediumModel answerDesign a Real-Time Thermal Telemetry & Ingestion System
Design an IoT telemetry platform ingesting half a million sensor readings per second, featuring low-latency current state queries, delayed data processing, and downsampled long-term storage.
System Designsystem-designiottime-seriesstreaming - Data Structure DesignMediumModel answerDesign a Support Agent Dispatcher with Interruption Handling
Design an in-memory dispatch engine that pairs queued support tickets with available agents, extended to handle mid-task agent breaks and fair ticket re-queuing.
Data Structure Designdesign-dsstacks-queuesheaps-sorting - Machine LearningMediumModel answerFoundations of Generalization Error and Deep Network Gradient Dynamics
Break down bias-variance decomposition, diagnose deep learning overfitting with remedies, and derive vanishing gradient mechanics alongside modern structural solutions.
Machine Learningbias-varianceoverfittingvanishing-gradientsdeep-learning - System DesignHardModel answerArchitecting a High-Throughput Multi-Region Data Service
Design a multi-region metadata engine processing 50k peak QPS under 100 ms p95 latency, complete with capacity sizing, queueing performance modeling, and resiliency patterns.
System Designsystem-designdistributed-systemsmulti-regioncapacity-planning - Data Structure DesignMediumModel answerFix a Rotating Server Picker, Then Build a Hash Ring
Find and fix the bugs in a round-robin server selector that handles pool changes and threads, then build a consistent-hash ring with virtual nodes that keeps key movement minimal.
Data Structure Designload-balancingconsistent-hashingdebuggingconcurrency - Machine LearningMediumModel answerDropping the Mean: RMSNorm Versus LayerNorm in Transformers
Contrast LayerNorm and RMSNorm formulas, what removing centering changes, and why many large language models adopt the simpler normalization.
Machine Learningtransformersnormalizationlayernormrmsnorm - System DesignHardModel answerArchitecting a Card Network Transaction Switch
Design a card-network transaction switch that routes authorizations to unreliable issuer banks, prevents duplicate charges, keeps an auditable ledger, and keeps card data tokenized.
System Designpaymentsidempotencydistributed-transactionssaga - Arrays & HashingMediumModel answerPaginated API Fetching and Data Merging
Fetch paginated JSON payloads from two separate endpoints, defensively clean and transform records, and merge them on a common key preserving the original sequence.
Arrays & Hashingpaginationhttp-requestshash-tabledata-cleaning - Machine LearningMediumModel answerReviewing Machine Learning Data Cleaning Code and Pipeline Design
Evaluate an ML preprocessing codebase for design decisions, sklearn API conventions, data leakage prevention, code quality issues, and critical unit testing strategy.
Machine Learningdata-preprocessingscikit-learncode-reviewunit-testing - Statistics & ExperimentsMediumModel answerLinear Regression Assumptions and Handling Correlated Predictors
Describe the classical assumptions behind least squares, explain how correlated predictors affect inference, and cover diagnostics, fixes and the exactly collinear case.
Statistics & Experimentslinear-regressionolsmulticollinearityvif - BehavioralHardModel answerNine Leadership Stories: Behavioral Prep for a Senior Loop
Prepare structured, quantified stories about missed commitments, root-cause digging, fast decisions, pushback, simplification, disagreement, obstacles, raising standards, and ownership.
BehavioralbehavioralleadershipSTARownership - SQL & DataMediumModel answerTrailing Week Totals of Voice Assistant Replies per Device
Write a query that gives each device's total replies over the current day and the six days before it, handling duplicate rows and missing dates correctly.
SQL & Datasqlwindow-functionstime-seriespandas - Data Structure DesignMediumModel answerBuild a Weekly Schedule Grid
Construct an interactive 7-day schedule grid with hour slots, allowing users to add titled events via a clean, state-driven dialog without duplicate data sources.
Data Structure Designfrontendreactstate-managementui-components