practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6013 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.
- 6013
- Problems
- 2228
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 811–840 of 3785 results
- System DesignHardModel answerBuilding a Fair-Play System for a Competitive Online Game
Design an end-to-end approach for spotting cheaters in a live multiplayer game, deterring them, and applying penalties while handling wrongful bans and restoring player trust.
System Designanti-cheatfraud-detectiontrust-and-safetystreaming-pipeline - Trees & GraphsMediumModel answerBuild a Display Order for Tasks with Dedup, Filtering and Subtasks
Turn a flat batch of scheduler tasks into a display list: merge duplicates, hide finished work, order by priority, and keep each subtask right under its parent.
Trees & Graphssortinghashingtree-traversalcycle-detection - BehavioralMediumModel answerPlan a 14-Day Strategy for a Stalled Team-Match Process
Design a two-week plan to stay visible with recruiters and hiring managers, set escalation triggers, and decide when to widen your search while team matching is stalled.
Behavioralbehavioralstakeholder-managementescalationprioritization - Machine LearningMediumModel answerPyTorch vs JAX: Framework Design and Ecosystem Trends
Discuss where deep learning frameworks are heading, then contrast PyTorch and JAX on execution model, compilation, and ecosystem, and say when you would choose each.
Machine Learningpytorchjaxml-frameworkscompilers - Machine LearningMediumModel answerChoosing an LLM Alignment Recipe for a Support Assistant
Weigh PPO-based RLHF against DPO, use AI-generated feedback when labels are scarce, and diagnose and fix a model that over-refuses harmless requests after alignment.
Machine Learningrlhfdporlaifllm-alignment - Trees & GraphsMediumModel answerDistributed Tree Traversal and Reliable Neighbor Messaging Protocol
Design a reliable message passing protocol across adjacent tree nodes, then compute total network size and discover paths under network faults.
Trees & Graphstrees-graphsdistributed-systemsmessage-passingnetwork-protocol - SQL & DataMediumModel answerLeveraging AI Assistance Responsibly in SQL Collaborative Coding
Learn how to conduct an AI-assisted SQL pair-programming session while demonstrating clear reasoning, strict data safety, step-by-step query construction, and rigorous verification.
SQL & DataSQLPair ProgrammingAI Coding ToolsCode Quality - Trees & GraphsMediumModel answerModeling Classic Puzzles: River Crossing, Jugs, and Proofs
Turn a set of contest-style logic puzzles, led by the fox-chicken-grain river crossing, into formal models, and give algorithms with proofs of correctness and optimality.
Trees & Graphsbfsstate-space-searchinvariantsproofs - System DesignMediumModel answerDesign a Memory-Bounded Real-Time URL Analytics Engine
Architect a memory-efficient system to compute exact all-time and probabilistic 24-hour rolling Top-K URLs from high-velocity web request logs.
System Designsystem-designstreamingdata-structurestop-k - Machine LearningEasyModel answerDeriving and Analyzing Ordinary Least Squares Linear Regression
Explain the mathematical derivation, key theoretical assumptions, numerical considerations, and regularized extensions of ordinary least squares (OLS).
Machine Learninglinear-regressionleast-squaresconvex-optimizationmachine-learning - Machine LearningMediumModel answerScoring Song Impressions: A Click Model for a Music Feed
Design a model that estimates the chance a user clicks a recommended track, covering song representation, sparse feature handling, algorithm choice, calibration, and offline and online evaluation.
Machine Learningctr-predictionrecommendationembeddingssparse-features - System DesignMediumModel answerSystemVerilog Verification Fundamentals and Constraint Modeling
Master key SystemVerilog verification concepts including concurrency, constraint solver semantics, assertions, OOP, and hardware verification testbench architectures.
System DesignSystemVerilogUVMHardware VerificationSVA - Arrays & HashingMediumModel answerDistance-to-Go Along Batched 2D Routes
Given a batch of 2D routes, compute for each waypoint the length of the remaining route to the final waypoint, in linear time, handling short and empty inputs.
Arrays & Hashingsuffix-sumnumpyvectorizationeuclidean-distance - System DesignMediumModel answerBuild a Table Booking Platform for Many Restaurants
Design a multi-restaurant table booking backend that prevents double-booking, serves fast availability queries, survives peak-hour spikes, and keeps a full audit trail.
System Designsystem-designconcurrencydata-modelingcaching - System DesignMediumModel answerFast Fan-Out of a 500 GB Checkpoint Across a GPU Fleet
Work out the minimum time to push a 500 GB model checkpoint to 100-1,000 machines with 10 Gbps shared links, then design a chunked peer-to-peer rollout that approaches it.
System Designsystem-designnetworkingpeer-to-peerbandwidth - BehavioralMediumModel answerMission-Driven Test Strategy for a Mortgage Platform UI Change
Explain how a housing-finance mission shapes QA work, contrast UI and backend testing, and design a prioritized test suite for a change to a lender-facing form.
Behavioralqatest-designui-testingbackend-testing - SQL & DataMediumModel answerSeven-Day Return Rate from a Daily Posting Log
From a per-day post count table, find each user's first active date, their first-week post total, and the share of users who were active on the seventh day of their life on the platform.
SQL & Datasqlwindow-functionsretentioncohort-analysis - BehavioralMediumModel answerFour Career Stories: Setbacks, Unknowns, Competing Priorities, Critique
Prepare four short, structured work stories covering a hard problem, a decision with missing data, juggling competing priorities, and acting on tough feedback.
Behavioralbehavioralstar-methodownershipprioritization - BehavioralEasyModel answerProduct Data Scientist Recruiter Call: Ten Questions to Prepare
Prepare structured, evidence-backed answers for a recruiter phone screen for a product data scientist role at an e-commerce platform, covering motivation, past scope, PM collaboration and pay.
Behavioralbehavioralrecruiter-screenproduct-data-sciencestakeholder-management - Statistics & ExperimentsMediumModel answerRolling Out Multi-Party Video Calls: Experiment Design Under Interference
Plan and analyze a randomized rollout of a multi-participant calling feature, covering metric choice, network spillovers, participant caps, launch inputs and timing edge cases.
Statistics & Experimentsab-testinginterferencecluster-randomizationcuped - Data Structure DesignMediumModel answerObject Model and Move Engine for a Sliding-Tile Merge Game
Design the classes and core move algorithm for a configurable N x N sliding-tile merge puzzle, with testable randomness, win and loss detection, and room for undo.
Data Structure Designobject-oriented-designgame-logicsimulationdependency-injection - Statistics & ExperimentsHardModel answerA/B Testing a Discovery-Oriented Feed Ranker
Plan an online experiment for a ranker that pushes users toward new content, define metrics for discovery, satisfaction and ecosystem health, and make a launch call before long-term results arrive.
Statistics & Experimentsab-testingexperiment-designrecommender-systemsmetrics - BehavioralMediumModel answerFive Behavioral Stories for an AI-Safety Engineering Role
Prepare five spoken, story-based answers on pride, hardship, motivation, values under pressure, and respectful disagreement, each showing ownership, judgment, and honesty.
Behavioralbehavioralleadershipstorytellingvalues - Machine LearningMediumModel answerRank Predictors by Logistic Regression Coefficient Magnitude
Fit an unpenalized binary logistic regression with an intercept on a features-by-samples matrix, then return the three predictors with the largest absolute coefficients.
Machine Learninglogistic-regressionfeature-importancenumpyirls - Statistics & ExperimentsHardModel answerSequential A/B Test, FDR Control, Bot Posterior, Skewed AOV
Four applied statistics tasks: a two-proportion test with group-sequential boundaries, BH vs Bonferroni, a Bayes flag posterior, and robust inference for a skewed order-value metric.
Statistics & Experimentshypothesis-testingsequential-testingmultiple-comparisonsbayes-theorem - System DesignMediumModel answerFrom Address Bar to Pixels: Tracing a Secure Page Load
Describe the full journey of a secure page request, from the browser's first lookups through DNS, connection setup, edge and backend handling, to the final rendering of the page.
System Designnetworkingdnstlshttp - BehavioralHardModel answerModel Choice Standoff, Pushy Client, and a 24-Hour Escalation
Behavioral question on resolving a model-selection dispute with a tech lead, holding firm with an aggressive client, and handling an escalation without your manager.
Behavioralconflict-resolutionstakeholder-managementmodel-selectionescalation - Machine LearningMediumModel answerProbabilistic Triage Model for Disputed Order Claims
Design a calibrated probabilistic model that scores dispute cases for fraud despite informative missing data, shifting base rates, and cost-sensitive routing decisions.
Machine Learningbayesian-inferencecalibrationmissing-datalabel-shift - Machine LearningMediumModel answerEvaluating Feature Imputation Methods for Linear Regression Models
Analyze and contrast mean imputation, empirical sample imputation, and missingness indicator techniques in linear models across MCAR, MAR, and MNAR data mechanisms.
Machine Learningmachine-learningstatisticsdata-preprocessingfeature-engineering - System DesignHardModel answerDesigning a Scalable Distributed Key-Value Store
Architect a fault-tolerant, horizontally scalable key-value storage system utilizing consistent hashing, tunable quorums, and automated data rebalancing.
System Designsystem-designconsistent-hashingdistributed-systemsfault-tolerance