practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5987 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.
- 5987
- Problems
- 2219
- Auto-graded
- 15
- Topics
- 270
- Added today
Showing 3421–3450 of 3768 results
- Statistics & ExperimentsHardModel answerUnderstanding Standardized Effect Sizes in Statistical Testing
Explain the purpose and interpretation of standardized test statistics in hypothesis testing, their relationship to uncertainty quantification, and when they can mislead.
Statistics & Experimentshypothesis-testingstatistical-inferencea-b-testingconfidence-intervals - Trees & GraphsMediumModel answerRecursive Disk Transfer Between Three Pegs
Move n disks from one peg to another using a spare peg, one at a time, never placing a larger disk on a smaller one.
Trees & Graphsrecursionalgorithm-designcomplexity-analysis - Data Structure DesignMediumModel answerScored Catalog Rotator: Ordered Traversal with Live Updates
Design an in-memory playlist that always serves the highest-scored unseen item per round, supports live score changes, and is safe for concurrent callers.
Data Structure Designheaptreemapconcurrencydata-structure-design - Statistics & ExperimentsHardModel answerDiagnose a disease with a rare-subtype twist using Bayes
Apply Bayes' theorem across two sequential test stages to find the true probability a patient has a rare disease subtype given a positive confirmatory test.
Statistics & Experimentsconditional probabilityBayes' theoremstatisticsfalse positives - System DesignMediumModel answerBuild a Link Compression Service
Design a scalable service that converts long URLs into compact aliases and redirects users back to the original destinations.
System Designdistributed-systemsscalabilitycachingdatabases - BehavioralMediumModel answerBehavioral Interview: Background, Ownership, and Safety Engineering
Demonstrate judgment, ownership, and practical safety thinking through your background, impactful work, and approach to risk mitigation in AI systems.
Behavioralbehavioralleadershipai-safety - Arrays & HashingMediumModel answerThree Algorithm Challenges: Enumeration, Backtracking, and Merging
Solve three distinct problems: compute the k-th element in a lexicographically ordered sequence, count valid paths under geometric constraints, and merge overlapping ranges.
Arrays & Hashingcombinatoricsbacktrackingtwo-pointersenumeration - System DesignMediumModel answerBackend Architecture for Activity Recording Platform
Design a scalable system to capture high-frequency GPS data from mobile workout sessions, compute activity metrics, and serve historical workout information.
System Designhigh-throughputgeospatialtime-seriesdata-modeling - BehavioralMediumModel answerIdentify and fix thread-safety bugs in a market data handler
Spot concurrency flaws, atomicity gaps, and design issues in a multi-threaded price tracking class, then refactor it to be thread-safe.
Behavioralconcurrencycode-reviewjavathread-safety - Arrays & HashingMediumModel answerParallel Image Pipeline Without External Libraries
Build a CPU-based image transformation engine that chains grayscale, brightness, and resize operations across multiple images using pure Python.
Arrays & Hashingimage-processingparallel-processingarray-manipulation - BehavioralMediumModel answerOwning Risk Beyond Your Role
Explain a time you took ownership of a meaningful problem outside your core responsibilities, managed uncertainty with data, and delivered measurable impact.
Behavioralleadershipownershiprisk-managementinitiative - System DesignHardModel answerLoyalty Ledger: Building a Transaction-to-Points Rewards System
Design a service that converts card transactions to loyalty points, ensuring exactly-once processing, precise arithmetic, and safe redemptions.
System Designdistributed-systemsledgeridempotencyconsistency - BehavioralHardModel answerWalk Me Through a Time You Navigated a Workplace Disagreement
Recount a real professional disagreement, covering both sides fairly, how you reached a resolution, and what you did differently afterward.
Behavioralconflict resolutioncommunicationleadershipcollaboration - Machine LearningMediumModel answerBuild a Travel Time Prediction Service for Ride Applications
Design a machine learning system that forecasts journey duration for ride-hailing trips, addressing data collection, feature design, model choice, and deployment.
Machine Learningml-system-designproduction-mlregressionspatial-data - Machine LearningMediumModel answerCore Concepts in Machine Learning and Deep Learning
Demonstrate understanding of fundamental ML/DL concepts through precise definitions, mathematical formulations, and practical examples.
Machine Learningfundamentalsdeep-learningtheorymathematics - BehavioralMediumModel answerPricing Strategy for an Early-Stage Cloud SaaS Product
Design a multi-tier pricing model for a young cloud service, justify it with unit economics, and mitigate key business risks while planning controlled growth.
Behavioralproduct-strategypricingunit-economics - BehavioralMediumModel answerResolving Conflict in a Technical Partnership
Discuss a time you repaired a deteriorating work relationship by diagnosing root causes, owning your role, and implementing process changes that made the partnership durable.
Behavioralconflict-resolutioncollaborationcommunicationprocess-improvement - Machine LearningMediumModel answerOrchestrating Classification and Embedding Services at Scale
Build a document processing pipeline that calls two ML services (classification and embedding) for both single-file and bulk uploads up to 1,000 files.
Machine LearningML System DesignAPI DesignScalabilityService Orchestration - BehavioralMediumModel answerBalancing Risk Mitigation and Feature Delivery Timelines
Discuss navigating trade-offs between technical risk and product velocity when stakeholders have competing priorities.
Behavioralleadershiprisk-managementstakeholder-alignment - BehavioralMediumModel answerNavigate Trade-Offs Between Competing Work Values
Explain how you choose between two valid engineering approaches when compromise fails, and demonstrate consistent decision-making across contexts.
Behavioraltrade-offsself-awarenessdecision-makingwork-style - BehavioralMediumModel answerWalk Me Through a High-Impact Project You Owned
Describe a project where you spotted a meaningful problem, drove the solution, and delivered measurable results.
Behavioralownershipimpactmetricstrade-offs - Statistics & ExperimentsMediumModel answerInterpreting A/B Test Results That Reverse When Aggregated
An experiment shows treatment winning in each segment but losing overall; diagnose the cause and determine the correct launch decision.
Statistics & Experimentsab-testingsimpsons-paradoxexperimentationstatistical-inference - Math & Bit ManipulationMediumModel answerClassifying Circle Pair Relationships
Determine whether two circles intersect at two points, are tangent at one point, or have no boundary contact.
Math & Bit Manipulationgeometrydistanceedge-casesnumerical-stability - Machine LearningEasyModel answerBuild a Collaborative Filtering Recommender for a Playlist App
Design and evaluate a simple collaborative filtering system that recommends songs to users of a music playlist application.
Machine Learningrecommendation systemscollaborative filteringmatrix factorizationevaluation metrics - System DesignHardModel answerBuild a Payment Processing System for Short-Term Campaigns
Design a scalable payment platform handling donation submissions with async processing, idempotency guarantees, and burst traffic support.
System Designpaymentsasync-processingdistributed-systemsidempotency - Machine LearningHardModel answerBuild a Production ML Training Pipeline for Time-Series Models
Design a complete ML training system for forecasting, covering data handling, training infrastructure, serving, and monitoring with emphasis on temporal correctness.
Machine Learningml-systemstime-seriesmlopstraining-infrastructure - System DesignHardModel answerLog-Structured Storage: Replication, Recovery, and MVCC
Describe how log-structured databases decouple compute from storage, use quorum-based replication, achieve fast recovery, and handle multi-version concurrency control.
System Designdistributed-systemsdatabasesstorage-enginesreplication - Statistics & ExperimentsMediumModel answerMean vs. Median: Picking the Right Profit Summary Stat
Decide which central tendency metric best captures per-trade profitability in a live trading system, and justify the choice given skew, outliers, and stream constraints.
Statistics & Experimentsstatisticsprobabilitytradingoutliers - System DesignMediumModel answerMessage Status Tracking in a Chat Application
Build the infrastructure for tracking and displaying message state (sent, delivered, read) in a messaging platform serving millions of users.
System Designdistributed-systemsreal-timescalability - BehavioralMediumModel answerThree-Part Culture Interview: Project, Failure, and AI Usage
Answer three behavioral questions about a successful project, a failed project, and your practical use of AI tools, showing ownership, reflection, and judgment.
Behavioralbehavioralleadershipcommunicationai-tools