practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6049 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.
- 6049
- Problems
- 2239
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 4591–4620 of 6049 results
- Stacks & QueuesMediumAuto-gradedBracket Matching, Interval Union, and Expression Parsing
Tests stack-based bracket validation, interval merging with endpoint semantics, and arithmetic evaluation with unary operators.
Stacks & Queuesstacksintervalsparsingexpression-evaluation - Arrays & HashingMediumAuto-gradedR² Bounds When Two Predictors Are Combined in OLS
Tests whether a candidate can derive the valid range of R² for a joint OLS model given the individual R² values of two single-predictor models.
Arrays & HashingstatisticsregressionOLS - Arrays & HashingHardAuto-gradedCost-Aware Fraud Model Comparison
Compares classification models using business costs, derives optimal decision thresholds, and identifies the most economical model.
Arrays & Hashingclassificationcost-sensitive-learningconfusion-matrixmodel-evaluation - Data Structure DesignMediumModel answerMulti-Level Parking Facility: Class Structure and Operations
Model a parking facility with levels and sized spots, supporting vehicle entry/exit, spot allocation by compatibility, and availability queries.
Data Structure Designobject-oriented-designSOLID-principlesdesign-patternsclass-modeling - System DesignHardModel answerDesign a High-Scale Event Streaming and Analytics Pipeline
Design an end-to-end pipeline that ingests millions of user interaction events per day, handles duplicates and late arrivals, and serves both real-time dashboards and raw session queries.
System Designstream-processingdata-pipelineanalyticskafka - SQL & DataMediumModel answerSQL Analysis and Statistical Testing of App Usage Patterns
Write SQL queries to identify top apps and compute category distributions, then design a statistical test to compare engagement frequency across user segments.
SQL & Datasqlaggregationwindow-functionsstatistical-testing - BehavioralMediumModel answerStaff Engineer Introduction: Background, Motivations, and Strengths
Prepare a brief slide deck about your career and highlight project, then discuss what energizes you professionally and what you excel at distinctively.
Behavioralstaff-levelself-presentationleadershipstorytelling - Dynamic ProgrammingMediumModel answerFlappy Bird Auto-Pilot with Lookahead Planning
Design a physics-based agent that decides when to jump by projecting future trajectories and checking collision-free paths through upcoming obstacles.
Dynamic Programminggame-physicssimulationtrajectory-planning - Statistics & ExperimentsHardModel answerEstimating Ad Impact Without Randomization
Design a plan to measure ad effectiveness using observational data when random assignment is impossible, accounting for selection bias and confounding.
Statistics & Experimentscausal-inferencepropensity-scoresobservational-studiesexperimental-design - Dynamic ProgrammingMediumAuto-gradedMaximum Score With No Two Adjacent Drops
Tests whether a candidate can model a pick/skip DP with a "no two consecutive skips" constraint using O(1) space and O(n) time.
Dynamic Programmingdynamic-programmingarraysgreedy - Arrays & HashingMediumAuto-gradedPair Indices with Given Sum
Tests hash table usage and algorithm optimization to locate two array positions that sum to a target value.
Arrays & Hashinghash-maptwo-pointersoptimization - StringsMediumAuto-gradedCheck Password Compliance and Report Violations
Tests string validation logic, character classification, case-insensitive pattern matching, and consecutive character counting.
Stringsvalidationstring-processingpattern-matching - Heaps, Sorting & SearchMediumAuto-gradedTop-K Cutoff: Find the K-th Highest Value
Tests order-statistics intuition by asking candidates to extract the k-th largest element from an unsorted array without a full sort.
Heaps, Sorting & Searchheapsortingorder-statistics - BehavioralMediumModel answerProject Deep-Dive and Leadership Behavioral Round
Walk through a recent project you owned end-to-end, then field behavioral questions on challenge, conflict, failure, and mentorship.
Behavioralleadershipproject presentationstakeholder managementmentorship - Heaps, Sorting & SearchMediumAuto-gradedFind Target Index in Sorted Array
Tests ability to implement iterative binary search with correct loop invariants, boundary handling, and termination conditions.
Heaps, Sorting & Searchbinary-searcharraysiterativealgorithm-implementation - Machine LearningHardModel answerReal-Time Location-Based Recommendation System
Design a machine learning system that delivers personalized, geographically relevant place recommendations with sub-200ms latency at scale.
Machine Learningrecommender-systemsgeospatialreal-time-mlranking - Statistics & ExperimentsMediumModel answerDiagnosing a Spike in Warm Food Delivery Complaints
Investigate a rise in temperature complaints across the delivery funnel, separate mix shifts from operational decay, and design a marketplace-safe experiment to test a fix.
Statistics & Experimentsproduct analyticsexperimentationdecompositionmarketplace - Statistics & ExperimentsMediumModel answerSupport Team Staffing: Utilization, Cost Trade-offs, and Break-even
Model the capacity, weekly costs, and break-even point for a support team choosing between overtime and contractors to absorb rising inquiry volume.
Statistics & Experimentsoperationsbreak-evenworkforce-planning - System DesignMediumModel answerIoT Sensor Data Pipeline Architecture
Design a distributed system to ingest and query temperature readings from millions of globally distributed IoT devices with high write throughput.
System Designtime-seriesdata-ingestionIoTdistributed-systems - Trees & GraphsHardAuto-gradedMinimum Moves Across an Obstacle Grid
Tests BFS-based shortest-path reasoning on an unweighted 2D grid with blocked cells and 4-directional movement.
Trees & Graphsbfsgraph traversalgridshortest path - Machine LearningHardModel answerBuilding a Recommendation Engine for New Users and Fresh Content
Design a video recommendation system that handles users with no history and videos with no engagement data while meeting strict latency requirements.
Machine Learningrecommendation systemscold startmachine learningsystem design - System DesignMediumModel answerReal-Time BNPL Approval Service: Latency, Concurrency, and PII Vault
Design a buy-now-pay-later checkout backend that decides approval in real time, protects a shared credit line under concurrency, and isolates sensitive shopper data.
System Designsystem-designlatency-budgetconcurrencyencryption - Arrays & HashingMediumAuto-gradedFilter Bank Transfers and Summarize by Source Account
Tests ability to validate records against a lookup table, apply multi-condition filtering, and aggregate results into ranked frequency counts.
Arrays & Hashingsimulationhash-mapsorting - System DesignHardModel answerDesign a Distributed Key-Value Store with Range Scan Support
Design a horizontally scalable, fault-tolerant key-value store that supports high write throughput, low-latency reads, and efficient range scans across multiple data centers.
System Designdistributed-systemsstorage-enginesreplicationpartitioning - Data Structure DesignHardAuto-gradedMulticore Thermal Simulation with Adaptive Cooling Selection
Tests discrete-event simulation skills: delayed load semantics, proportional passive cooling with vibration penalties, fixed-point active cooling selection, and transition-only status reporting.
Data Structure Designsimulationstate-machinefixed-point - System DesignMediumModel answerJVM Memory Management, Singleton Design, and SOLID
Explain how the JVM reclaims memory, how to implement a Singleton safely in Java, and how SOLID principles lead to maintainable, extensible object-oriented designs.
System Designjavagarbage-collectiondesign-patternssolid - Data Structure DesignMediumModel answerAsync Query Client for a Cloud Data Warehouse
Design and implement a lightweight client that submits async SQL queries, polls for status, retrieves results, and handles errors and credentials safely.
Data Structure Designapi-designasyncerror-handlingstate-machine - Arrays & HashingMediumAuto-gradedText Spam Detector: Naive Bayes Classifier with F1 Score
Tests understanding of probabilistic text classification by implementing a Multinomial Naive Bayes model from scratch and evaluating it with the F1 score.
Arrays & Hashingnaive-bayestext-classificationf1-score - Machine LearningHardModel answerMetrics, Monitoring, and Rollout for an Audio Moderation Pipeline
Design the full measurement stack for an ML-powered audio moderation system: product and model metrics, SLOs, alerting, and safe rollout strategy.
Machine Learningmetrics-designml-monitoringexperimentationtrust-and-safety - Data Structure DesignMediumModel answerBuild a Time-Travel Key-Value Store with Snapshots
Design a key-value store that supports cheap snapshots and historical reads without copying the entire map on each snapshot.
Data Structure Designsnapshotsversioningbinary-searchcopy-on-write