practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6134 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.
- 6134
- Problems
- 2275
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 3031–3060 of 6134 results
- BehavioralMediumModel answerFive Behavioral Stories: Friction, Fuzziness, Surprise, Growth, Misses
Prepare structured stories about a difficult colleague, an unclear problem, a surprise, new learning, and a missed goal, with measurable results and reflections ready for follow-ups.
BehavioralbehavioralSTARcollaborationambiguity - BehavioralMediumModel answerTurning Critical Feedback on a Project into Lasting Change
Describe a time a colleague seriously criticized your technical work, how you tested whether they were right, and which concrete habits changed afterward.
Behavioralbehavioralfeedbackself-awarenessstar-method - Statistics & ExperimentsMediumModel answerDiagnosing a 10% Delivery Time Rise in a Quick-Commerce City
Average delivery time for a quick-commerce grocery service in one large city has risen 10% above target across all order types in the past week. Find the root cause.
Statistics & Experimentsmetric-diagnosisroot-cause-analysisproduct-analyticsfunnel-decomposition - Arrays & HashingMediumAuto-gradedCard Authorization Report with Time-Activated Block Rules
Sort card authorization events by time and apply permanent, time-activated block rules to label each as APPROVE or REJECT, testing stable sorting, two-stream merging and hashing.
Arrays & Hashinghashingsortingsimulationtwo-pointers - Data Structure DesignMediumAuto-gradedCount Lower Readings in a Trailing Time Window
Simulate a sequence of record and query operations over a timestamped stream, counting readings in a trailing window that are strictly lower than the latest reading.
Data Structure Designsliding-windowbinary-searchsimulationstreaming - System DesignMediumModel answerBuild a Post Comment Thread with Reliable Alerts
Design the comment feature for an existing social app: APIs, schema, pagination, durable notification fan-out, and how to scale reads and writes when one post goes viral.
System Designsystem-designcommentsnotificationspagination - Heaps, Sorting & SearchMediumAuto-gradedGini Split Search Plus One Regression Gradient Step
Sweep sorted feature values to find the lowest weighted-Gini binary split, and apply one MSE gradient descent update for linear regression.
Heaps, Sorting & Searchsortingprefix-sweepgini-impuritygradient-descent - Trees & GraphsMediumAuto-gradedLargest Chain Reaction From a Single Detonation
Model one-way blast reach as a directed graph and find the largest set reachable from any single starting node, using exact integer distance checks.
Trees & Graphsgraphdfsreachabilitygeometry - System DesignMediumModel answerDesign a Freight Yard Platform for Dock Slots, Routes and Totes
Design a multi-warehouse platform that books dock doors, plans and replans truck routes, and tracks containers from noisy scan events while keeping inventory consistent.
System Designsystem-designevent-drivenschedulingvehicle-routing - Arrays & HashingMediumModel answerMerging k Key-Value Maps: Conflict Rules and Efficient Design
Design a way to merge two key-value maps, extend it to k maps, and decide which conflict rules must be pinned down before writing any code.
Arrays & Hashinghash-mapmergingapi-designclarifying-questions - Trees & GraphsMediumAuto-gradedFind the Exit of a Keyed Forest Graph
Run a breadth-first search over (location, keys held) states in a forest with locked doors to find the first exit reached, or None.
Trees & Graphsbfsgraphstate-space-searchparsing - Greedy & IntervalsMediumAuto-gradedCollapse Overlapping Time Ranges Into Disjoint Blocks
Sort closed integer ranges and sweep once to combine any that overlap or touch, returning the minimal ordered list of disjoint ranges.
Greedy & Intervalsintervalssortingsweepgreedy - Machine LearningMediumModel answerBuilding a Screen-Operating AI Agent from Perception to Safety
Design a multimodal agent that reads a desktop screen, plans multi-step tasks, drives the mouse and keyboard within a latency budget, and stays safe and measurable.
Machine Learningagentsmultimodalvision-language-modelssystem-design - Trees & GraphsMediumAuto-gradedColumn Grid from a Tree: Reach a Value by Walking Non-Zero Cells
Project a heap-indexed binary tree onto a depth-by-column grid, then use BFS over non-zero cells to decide whether a cell holding the target is reachable from a given start.
Trees & Graphsbinary-treebfsgridvertical-order - BehavioralMediumModel answerLeading a Cross-Functional Data Project in a Distributed Team
Walk through the hardest data science project you owned recently, then explain how you resolved conflicting priorities across product, engineering, and design in a remote, multi-timezone setup.
Behavioralbehavioralleadershipstakeholder-managementremote-work - System DesignHardModel answerBuild a Multi-Model Inference Workflow Platform for External Clients
Design a platform that chains independently deployed ML models into reliable workflows, covering orchestration, schemas, caching, versioning, failure handling, observability, and tenant isolation.
System Designml-infrastructureorchestrationmodel-servingmulti-tenancy - Machine LearningMediumModel answerFrom CTR Prediction to Sequential Feed Ranking with RL
Design a sequential feed-ranking system for long-term retention: choose bandit vs MDP, evaluate offline with doubly robust estimators and overlap checks, and design rewards and A/B guardrails.
Machine Learningreinforcement-learningoff-policy-evaluationdoubly-robustrecommendation-systems - Stacks & QueuesMediumAuto-gradedUnnest Deeply Nested Lists Without Recursion
Flatten an arbitrarily nested Python list into a single list in left-to-right order, treating only lists as containers and handling very deep nesting safely.
Stacks & Queuesstackiterationnested-listsdepth-first-search - Trees & GraphsMediumAuto-gradedEager Formula Sheet with Cycle-Safe Updates
Simulate a mini spreadsheet where formulas are evaluated at write time, dependents update eagerly, and any write that would create a dependency cycle is rejected without changing state.
Trees & Graphsdependency graphtopological sortcycle detectionsimulation - BehavioralMediumModel answerTurning Around a Struggling Project: A Behavioral Answer Guide
Explain how you spotted a project slipping, found the real cause, made trade-offs, kept stakeholders informed, and what you changed afterward.
Behavioralbehavioralleadershipproject-managementroot-cause-analysis - System DesignHardModel answerGeo-Targeted Emergency Alerts for Travelers at Scale
Design a platform that detects natural-disaster zones from external feeds and quickly alerts travelers who are in, or about to arrive in, the affected area without duplicate messages.
System Designgeospatial-indexingnotificationskafkaidempotency - Trees & GraphsMediumAuto-gradedDuplicate a Nested Structure With Cycles and Shared Parts
Build an independent deep copy of a nested container structure, preserving shared references and cycles, using a memo table and an explicit stack.
Trees & Graphsdeep-copygraph-traversalmemoizationiterative-dfs - Data Structure DesignMediumAuto-gradedSpreadsheet Cells With Sum Formulas and Loop Detection
Simulate a command list on a spreadsheet whose cells hold integers or two-reference sum formulas, evaluating lazily and reporting circular references.
Data Structure Designgraphdfscycle-detectionsimulation - Heaps, Sorting & SearchMediumModel answerStreaming Word Frequencies from an Oversized Text File
Build a memory-safe word counter for a huge text file, define tokenization rules, return the top-k words deterministically, and discuss what to do when the vocabulary strains memory.
Heaps, Sorting & Searchword-countstreaminghash-maptop-k - System DesignHardModel answerLow-Latency Personalized Feed Ranking Service Design
Design an end-to-end personalized feed service for millions of users: data pipelines, feature consistency, retrieval and ranking, cold start, latency budgets, experiments, and failure handling.
System Designml-system-designrecommendationfeature-storecandidate-generation - BehavioralMediumModel answerWinning Over Skeptical Partners With Evidence: A Data Story
Tell a structured story about changing a cross-functional decision with data after partners disagreed, covering analysis, messaging, pushback, trade-offs, results and lessons.
Behavioralbehavioralstakeholder-managementinfluencedata-science - System DesignMediumModel answerHow TCP Opens a Connection: SYN, SYN-ACK, ACK and Lost Packets
Describe how TCP establishes a connection, including state changes, sequence numbers, a lost final ACK, and the limits of what a completed handshake proves.
System Designtcpnetworkinghandshakesockets - BehavioralMediumModel answerRamping Up Fast on an Unfamiliar Technical Area
Describe a time you had to become effective in an unfamiliar area under deadline pressure, showing a structured, repeatable learning method and measurable impact on the outcome.
Behavioralbehavioralstar-methodlearning-agilityprioritization - Heaps, Sorting & SearchHardAuto-gradedPick the Bottle Kit With the Least Leftover Volume
Choose the bottle kit that serves every dose request with minimal total leftover space, using sorting, prefix sums and binary search to stay efficient on large inputs.
Heaps, Sorting & Searchbinary-searchprefix-sumssortinggreedy - BehavioralMediumModel answerDeep Dive on Your Proudest Technical Project
Present one significant project from your background, covering your role, key decisions, conflict, risks, measurable results, a setback, and what you would change in hindsight.
Behavioralbehavioralproject-deep-diveownershiptrade-offs