practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6048 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.
- 6048
- Problems
- 2239
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 2431–2460 of 3809 results
- BehavioralMediumModel answerDeep Dive: Explaining a Complex Technical Implementation
Walk through the design, trade-offs, and implementation of the most technically challenging component from a project you've worked on.
Behavioraltechnical-depthdesign-decisionssystem-complexity - Machine LearningHardModel answerBuild a production spam filter for email
Design a complete ML system to classify incoming email as spam or legitimate, covering labeling, features, models, serving, metrics, and adversarial defenses.
Machine Learningml-system-designclassificationproduction-mlanti-abuse - Data Structure DesignMediumModel answerBuild a Type-Aware Key-Value Store from First Principles
Design a hash map that supports keys and values of arbitrary types, covering hashing contracts, equality semantics, collision resolution, and memory ownership.
Data Structure Designhash-maptype-erasurecollision-resolutionmemory-management - BehavioralHardModel answerEvaluate a Research-Driven Organization's Technical Direction
Assess an engineering org's technical philosophy, critique a recent decision with trade-offs, and connect your skills to their core challenges.
Behavioralleadershipcritical-thinkingmission-alignment - System DesignMediumModel answerBuild a Flight Booking Chat Agent with LLM Tool Calling
Extend a Python starter script into a terminal chat agent that uses LLM function calling to search flights, register a passenger, and confirm a booking via a three-endpoint REST API.
System DesignLLMtool-callingREST APIPython - BehavioralHardModel answerNavigating a Head-On Conflict Between Ad Revenue and Retention
Walk through a real decision where monetization and engagement metrics pulled in opposite directions, with pre-set guardrails, experiment design, and quantified outcomes.
Behavioralmetricsexperimentationstakeholder-alignmentproduct-sense - System DesignHardModel answerDistributed Transposition of a Terabyte-Scale Dense Matrix
Design a fault-tolerant distributed pipeline that transposes a multi-terabyte float matrix using tiled partitioning, idempotent workers, and verifiable completion tracking.
System Designdistributed-systemsobject-storagefault-tolerancebatch-processing - BehavioralMediumModel answerWalk Me Through Your Background and Why This Role
Structure a compelling 10–15 minute behavioral opener: a crisp self-introduction, a technical project deep dive with trade-offs, and a specific motivation pitch.
Behavioralself-introductionproject deep divemotivationcommunication - Statistics & ExperimentsMediumModel answerComparing Two Models on Shared Test Data
Apply statistical tests to determine whether two classifiers differ significantly when evaluated on the same labeled dataset, covering hypothesis testing, exact methods, confidence intervals, and multiple comparisons.
Statistics & Experimentshypothesis-testingpaired-comparisonscontingency-tablesmultiple-testing - StringsMediumModel answerCSV Transaction Parser with Validation and Error Handling
Design a pipeline that parses CSV transaction records, normalizes fields, validates data integrity, and segregates malformed entries.
Stringsdata-validationparsingerror-handling - Statistics & ExperimentsMediumModel answerSelecting the Top-Performing Sensor Calibration Batch
Design a statistically rigorous approach to rank five manufacturing batches using three binary pass/fail calibration checks per unit.
Statistics & Experimentshypothesis-testingmultiple-comparisonsbinary-outcomesexperimental-design - Machine LearningHardModel answerReal-Time Transaction Risk Scoring System Design
Design an end-to-end ML system that scores payment transactions in real time and decides whether to approve, block, challenge, or escalate them.
Machine Learningfraud detectionfeature engineeringimbalanced learningonline serving - Machine LearningHardModel answerBuild Causal Attention, a KV Cache, and Grouped-Query Attention
Implement causal multi-head attention from scratch, add a KV cache for step-by-step decoding, then extend it to grouped-query attention where query heads share KV heads.
Machine Learningtransformersattentiondeep-learning - System DesignMediumModel answerBuild a Task Scheduler That Grows from Startup to 100x Scale
Design a job scheduling system supporting one-time and recurring tasks, retries, and observability, then evolve it to handle 100x traffic growth.
System Designdistributed-systemsschedulingfault-tolerancescalability - Statistics & ExperimentsMediumModel answerBayesian Beta-Binomial Smoothing and Concept Drift Adaptation
Derive the conjugate posterior update for a click-rate model, explain shrinkage vs MLE, contrast credible and confidence intervals, and adapt the model when the data distribution shifts.
Statistics & Experimentsbayesian-inferenceconjugate-priorsconcept-driftcredible-intervals - System DesignHardModel answerDesign a Crash-Safe High-Throughput Append Log
Design an embedded append-only log writer that handles thousands of concurrent producers, batches writes efficiently, and recovers cleanly from crashes.
System Designwrite-ahead logconcurrencydurabilitygroup commit - BehavioralMediumModel answerCareer Story and Logistics Round for an ML Engineer Role
Walk through your motivation, resume chronology, transition reasons, work authorization and comp expectations, then ask the interviewer good questions.
Behavioralhr-screencareer-narrativecompensationwork-authorization - Statistics & ExperimentsMediumModel answerDesign a Pilot Rollout for an Accelerated Payout Product
Design a risk-aware targeting model, experiment framework, success metrics, and ROI formula for rolling out an instant settlement feature to 10% of small merchants.
Statistics & Experimentsexperiment-designproduct-metricsrisk-modelingsegmentation - BehavioralEasyModel answerNavigate Team Conflict and Keep Engineers Motivated
Demonstrate leadership by describing how you resolved a real technical conflict and what concrete practices you use to sustain team morale under pressure.
Behavioralconflict-resolutionteam-leadershipmotivationtech-lead - Arrays & HashingMediumModel answerLongest Streak of Distinct Viewing History
Find the longest contiguous subsequence in a viewing history array where no show appears more than once (case-insensitive).
Arrays & Hashingsliding-windowhash-maptwo-pointers - System DesignMediumModel answerDatabase Indexes: Read/Write Trade-offs and Query Tuning
Explain how relational indexes work, why they help reads but hurt writes, and walk through a systematic process for diagnosing and fixing a slow SQL query.
System Designdatabasessqlperformanceindexing - Trees & GraphsMediumModel answerNearest Depot and Peak-Load Routing on a Grid
Given a grid with depot cells, find shortest paths from query locations to any depot, then extend to pick the depot maximizing a distance-penalized load score.
Trees & GraphsBFSDijkstramulti-sourcegrid - System DesignMediumModel answerDesign a Seat Reservation System for Live Events
Design a distributed ticketing platform that handles high search traffic, prevents duplicate seat bookings, and survives payment service failures.
System Designconcurrencydistributed-systemsconsistencydatabases - Data Structure DesignMediumModel answerGenerate Unique Character Profiles with Attribute Rules
Build a generator that creates N character profiles from trait pools, enforcing no-duplicates, uniqueness, and dependency rules between attributes.
Data Structure Designbacktrackingconstraint-satisfactionalgorithms - Dynamic ProgrammingHardModel answerDAG Schedule Analysis and Windowed Checkpoint DP
Compute critical-path latency and peak concurrency for a task DAG, then find minimum-cost checkpoint placement under a sliding-window coverage constraint.
Dynamic Programmingdagtopological-sortsliding-windowdynamic-programming - System DesignMediumModel answerDesigning Access Control for Social Feed Visibility
Design a system that enforces per-post audience rules across feed and permalink reads at high QPS while staying correct under friendship and privacy-setting changes.
System Designaccess-controlcachingsocial-graphfeed-system - BehavioralMediumModel answerWalk Through a Platform Project You Led
Deliver a structured 6-minute story of a platform or infra project you owned, covering users, architecture, reliability, delivery and measurable impact.
Behavioralplatform-engineeringstorytellingreliabilityci-cd - Machine LearningMediumModel answerBuilding a Pipeline to Surface Coordinated Duplicate Content
Design and compare algorithms for detecting near-duplicate content at scale, then layer on signals that distinguish organic sharing from coordinated inauthentic behavior.
Machine Learningnear-duplicate detectionsimilarity hashingembeddingsclustering - BehavioralMediumModel answerWalk Through an ML Project You Took from Idea to Production
Describe a real ML project end-to-end: how you framed the problem, the trade-offs you navigated, how you shipped it, and how you kept it healthy after launch.
Behavioralml-lifecyclesystem-designownershipproduction-ml - BehavioralHardModel answerWalk Me Through a Project You Owned and How You Structure Your Work
Use one real project to show personal ownership, a lesson that changed your thinking, and how you organize a typical workday with competing demands.
Behavioralownershipgrowth-mindsettime-managementimpact