practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6064 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.
- 6064
- Problems
- 2246
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 1621–1650 of 3818 results
- System DesignHardModel answerBuilding a Fault-Tolerant HTTP Traffic Distribution Layer
Design a resilient, horizontally scalable HTTP/HTTPS traffic distribution tier that routes by path or header, tracks backend health, and survives node and control-plane failures without dropping connections.
System Designload-balancinghigh-availabilitylayer-7health-checks - BehavioralMediumModel answerMotivation and Project Leadership in a Small Distributed Hardware Team
Answer a two-part behavioral prompt: explain why you want a specific role on a small global chip-packaging team, and describe a project you led, including your authority and cross-site work.
Behavioralbehavioralleadershipmotivationcross-site collaboration - Machine LearningMediumModel answerCore ML Concepts: Trees, Training Loops, Metrics, Embeddings, Attention
A five-part conceptual walkthrough covering ensembles of trees, supervised training, evaluation under imbalance, embeddings, and the basics of transformer attention.
Machine Learningdecision-treesgradient-boostingoverfittingevaluation-metrics - StringsMediumModel answerThree-Part Drill: Anagram Buckets, One-Swap Max, Sentiment Top-K
A three-part coding set: bucket words by letter makeup, maximize a number with at most one digit swap, and rank hotels by keyword-based review sentiment.
Stringshash-mapanagramsgreedytokenization - Data Structure DesignMediumModel answerTackling Long-Winded Data Structure Design Problems Step by Step
Describe a repeatable process for data-structure designs that are simple to state but long to code, then apply it to a price-time-priority limit order book.
Data Structure Designdata-structure-designorder-bookinvariantslazy-deletion - System DesignHardModel answerDocument-Grounded Chat at Scale: Upload, Index, and Serve Sessions
Design a multi-document chat backend where each session accepts up to 200 files, covering async indexing, latency budgets, safe caching, and rate-limit-aware admission control.
System Designragsystem-designasync-ingestionlatency-budget - Trees & GraphsMediumModel answerResolve Out-of-Order Variable Assignments in a Mini Language
Parse lines of integer assignments using only + and -, resolve forward and chained references, and report undefined names and cycles in a well-defined way.
Trees & Graphstopological-sortparsingdependency-graphcycle-detection - Statistics & ExperimentsHardModel answerA/B Testing Auction Revenue with Heavy Tails and Zeros
Design a defensible inference plan for comparing mean revenue between two arms when data is zero-heavy, extremely skewed and contaminated by spikes, including outlier handling and multiple-testing control.
Statistics & Experimentsab-testingbootstrapwinsorizationheavy-tails - System DesignMediumModel answerDesigning a Low-Latency Feature Platform for Ranking Models
Design a platform that serves fresh features to a ranking model in milliseconds and also builds leak-free historical training sets, keeping the two paths consistent.
System Designfeature-storeml-system-designstreamingpoint-in-time-join - System DesignMediumModel answerBuild a Retry-Safe Background Job Service for Heavy Tasks
Design an HTTP service that accepts long-running jobs, returns immediately, deduplicates client retries, and survives worker crashes without repeating side effects.
System Designidempotencymessage-queuesdistributed-systemsoutbox-pattern - BehavioralMediumModel answerDriving Clarity on Fuzzy Projects Across Product and Design
A behavioral practice set on explaining past projects, agent-based features, designer collaboration, and scoping work when requirements are unclear or shifting.
Behavioralbehavioralcommunicationstakeholder-managementscoping - Data Structure DesignMediumModel answerBuild a Persistent Storage Layer for a Mini Database Engine
Design and implement the last stage of a database engine: a catalog of databases, schemas, and tables plus durable row insert, read, update, and delete that survives restarts.
Data Structure Designstorage-enginepersistencecrash-safetywrite-ahead-log - BehavioralHardModel answerFour Career Stories: Pride, Disagreement, Near-Failure, Team Habits
Prepare four structured stories for a senior engineering behavioral round: a standout project, a technical disagreement, a near-failed effort, and the habits and motives you bring to a new team.
Behavioralbehavioralstar-methodsenior-engineerconflict-resolution - BehavioralMediumModel answerDefending Your Role in a Technical Project Walkthrough
Present a complex project you worked on, separate your own contributions from your team's, defend key design decisions, quantify results, and reflect honestly on what you would change.
Behavioralbehavioralownershipproject-deep-divetrade-offs - Statistics & ExperimentsMediumModel answerTwo Random Cuts on a Rope: Chance of Forming a Triangle
Cut a unit-length rope at two independent uniform points and find the probability the three segments can be the sides of a triangle, with a clear derivation.
Statistics & Experimentsgeometric-probabilityuniform-distributiontriangle-inequalitycontinuous-random-variables - SQL & DataMediumModel answerApproved-Profile Daily Snapshot with Country Rollup and Checks
Build a point-in-time snapshot of profiles whose latest version has an approved final review, add 7-day engagement and country rollups, and write data-quality and rerun-safety checks.
SQL & Datasqlwindow-functionspoint-in-time-snapshotdata-validation - SQL & DataMediumModel answerFlagging Heavy VR Headset Users: Streak Detection in SQL
Define a precise rule for excessive headset use, then write SQL that counts flagged users, active users, and the flagged share over a trailing 30-day window.
SQL & Datasqlgaps-and-islandswindow-functionsmetric-definition - BehavioralMediumModel answerHandling an Analysis That Contradicts Your Team's Beliefs
Describe how you would handle a situation where your analysis disagrees with what your team believes, covering validation, communication, alignment, and follow-through.
Behavioralbehavioralstakeholder-managementdata-storytellingdisagree-and-commit - BehavioralMediumModel answerAudit an App Feature: Heuristics, Redesign, and A/B Validation
Evaluate one well-designed and one poorly designed feature in an app you use daily, redesign the weak one, and plan an experiment with metrics and guardrails that accounts for novelty effects.
Behavioralproduct-senseusabilityaccessibilityexperiment-design - System DesignHardModel answerBuild a Live Same-Day Delivery Dashboard for a Station Lead
Design a dashboard for a delivery-station lead covering metric definitions, chart choices, layout, interactions, alerting, validation, and scalable aggregation that keeps tail behavior visible.
System Designdashboard-designmetricsvisualizationalerting - Data Structure DesignMediumModel answerBuild a Run-Once Typewriter Component for a Hidden Token
Build a React and TypeScript component that finds a hidden token in the DOM or over HTTP, types it out every 50ms, never replays the animation, cleans up after itself, and has Mocha tests.
Data Structure Designreacttypescripthooksasync - BehavioralMediumModel answerFive Collaboration Stories: Conflict, Advocacy and Listening
Prepare structured, evidence-backed stories on a hard project, advocating for others, learning from peers, disagreeing constructively, and listening, with follow-ups.
Behavioralbehavioralteamworkconflict-resolutionSTAR - Statistics & ExperimentsMediumModel answerMeasuring a Voluntary App Redesign Rollout Without an A/B Test
Estimate the causal effect of an opt-in app redesign when users self-select into upgrading, covering cohort design, confounders, estimation methods, and validation checks.
Statistics & Experimentscausal-inferencepropensity-scoredifference-in-differencesobservational-study - BehavioralMediumModel answerProtecting a Committed Delivery Date When Risk Emerges
Explain how you plan, monitor and defend delivery commitments as an engineering manager, then describe a real project whose committed date came under threat and how you handled it.
Behavioralengineering-managerplanningrisk-managementstakeholder-communication - Machine LearningHardModel answerBuilding a Recommender: From Neighbors to Latent Factors
Compare neighborhood and matrix factorization recommenders, and explain loss, regularization, cold start, popularity bias, evaluation and large-catalog scaling.
Machine Learningrecommender-systemscollaborative-filteringmatrix-factorizationimplicit-feedback - System DesignHardModel answerParallelizing a Sliding Dot-Product Filter Across CPU Cores
Design a multithreaded CPU routine for valid 1D correlation that adapts to tiny, huge, and thread-capped cases, covering partitioning, false sharing, SIMD, and merging.
System Designmultithreadingparallel-reductionfalse-sharingsimd - BehavioralMediumModel answerPrincipled Pushback: Disagreeing With Leaders Under Pressure
Describe how you handle situations where your technical judgment or values clash with leadership, covering unpopular-but-correct calls, value conflicts, and declining a manager's directive.
Behavioralbehavioralleadershipethicsconflict-resolution - System DesignMediumModel answerThread-Safe Maps, Cache Sharding and Batch Processing Models
Explain how Java's concurrent hash map stays safe under contention, how to shard a session cache without mass reshuffling, and when batch map-reduce beats SQL joins.
System Designconcurrencyconsistent-hashingjavadistributed-systems - Machine LearningMediumModel answerPredicting Itemizers vs Standard Filers for a Tax App
Design an interpretable, recall-oriented classifier that predicts whether a tax-software user should itemize deductions, covering preprocessing, features, imbalance-aware metrics and time-aware validation.
Machine Learningclassificationimbalanced-datafeature-engineeringtime-based-validation - BehavioralMediumModel answerCredit Disputes and Competing Priorities: Behavioral Answers
A two-part behavioral prompt: resolve a situation where a colleague claims your work as theirs, and explain how you rank, schedule and communicate when many tasks compete for attention.
Behavioralbehavioralconflict-resolutionprioritizationcommunication