practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6051 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.
- 6051
- Problems
- 2239
- Auto-graded
- 15
- Topics
- 269
- Added today
Showing 2341–2370 of 3812 results
- Machine LearningHardModel answerBuild a Machine Learning Document Search Engine
Design a production search system that combines keyword and semantic retrieval, enforces tenant-level access control, and ranks results with learned models.
Machine Learningml-systemsinformation-retrievalrankingembeddings - System DesignHardModel answerDesign a Financial Platform with Transfers and Analytics
Architect a core banking platform covering auth, accounts, ATM flows, intra- and inter-bank transfers, and time-windowed transaction analytics.
System Designdistributed-systemsconsistencypaymentsledger - System DesignHardModel answerFront-End Design: Scalable Product Search with Unbounded Results
Design the component tree and performance strategy for a search-driven product grid that must handle an arbitrarily large catalog.
System Designfrontendsearchpaginationperformance - Statistics & ExperimentsHardModel answerDiagnosing and Quantifying Call-Drop Failures for a B2B Product
Design a measurement framework to identify, deduplicate, and quantify the business impact of call disconnects, then make a defensible fix-vs-build prioritization decision.
Statistics & Experimentsanalyticsexperimentationcausal-inferenceproduct-metrics - System DesignMediumModel answerPython Language Evolution and Runtime Internals
Demonstrate working knowledge of Python 3.8–3.10 syntax additions, GUI and web framework trade-offs, and how CPython handles strings in memory.
System Designpythonlanguage-fundamentalscpython-internalsecosystem - System DesignMediumModel answerDiagnose and Remediate a Runaway Process on Linux
Given a degraded production host, use top, ps, find, and kill to identify a CPU-hungry process, handle files with hostile names, and terminate it safely.
System Designlinuxcliprocess-managementdevops - BehavioralHardModel answerInfluence, Learn Fast, and Navigate Stakeholder Conflict
A three-part behavioral question testing influence without authority, rapid domain learning under time pressure, and data-driven conflict resolution with senior stakeholders.
Behavioralconflict-resolutioninfluence-without-authoritylearning-agilitystakeholder-management - System DesignMediumModel answerSelecting a Database for High-Volume Activity Tracking
Evaluate NoSQL versus relational storage for a log ingestion system with extreme write throughput and petabyte-scale growth.
System Designdatabasesscalabilitydata-modelingnosql - System DesignMediumModel answerPricing a New B2B SaaS Analytics Feature
Walk through a structured B2B pricing framework covering customer segmentation, value-based vs. cost-plus methods, competitive benchmarking, packaging tiers, and validation experiments.
System Designproduct-strategyb2b-pricingmonetization - BehavioralMediumModel answerWalk Me Through Your Work and How You Use AI Tools
Structure a professional introduction, own a complex technical decision, and respond honestly to a question about where AI assistance ends and your judgment begins.
Behavioralself-introductionproject deep-diveAI toolsaccountability - System DesignHardModel answerDesign a Centralized Log Aggregation Platform
Design a high-throughput internal logging platform that ingests, indexes, and retains logs from thousands of services with near-real-time search and strict tenant isolation.
System Designloggingobservabilitydistributed-systemsstream-processing - System DesignMediumModel answerDesign an Activity Recording and Social Feed Service
Build a mobile service that captures GPS workouts offline, uploads them reliably, and powers a social feed of followers' activities.
System Designmobile-firstoffline-syncsocial-feedgeospatial - System DesignMediumModel answerGPU GEMM Speedup Limits and Tiled Memory Strategies
Apply Amdahl's law to a partially accelerated simulation, then explain GPU tiled matmul and the cost of virtual dispatch.
System Designamdahls-lawgpumatmulcuda - Data Structure DesignHardModel answerVersioned In-Memory Set with Snapshot Iterators and WAL Contracts
Design an MVCC-backed mutable set with O(1) snapshot iterators and specify the durability, ordering, and crash-recovery contracts for a write-ahead log.
Data Structure DesignMVCCsnapshot isolationWALdata structure design - SQL & DataMediumModel answerAuditing a Credit-Card Ledger: Validation Rules and Failing-Row Queries
Design a layered set of data quality checks over transactions and vendors tables, with SQL for the failing rows.
SQL & Datadata-qualitysqlvalidationreferential-integrity - Greedy & IntervalsMediumModel answerAssign Support Tickets to Agents Within Concurrency Limits
Given a list of fixed-time support tickets, assign each to an agent while respecting per-client concurrency caps and an optional agent pool size.
Greedy & Intervalsgreedyinterval-schedulingheapsweep-line - Statistics & ExperimentsEasyModel answerp-Values, Regression Coefficients, and L1 vs L2 Penalties
Rapid-fire statistics: define p-values correctly, interpret regression coefficients with confounders, and choose between Lasso and Ridge penalties.
Statistics & Experimentsp-valueshypothesis-testinglinear-regressionconfounding - SQL & DataMediumModel answerFind the Meeting Slot That Conflicts With the Most Others
Given a table of time-bounded sessions, write SQL to find which session overlaps the largest number of other sessions and report that count.
SQL & Datasqlinterval-overlapself-joinwindow-functions - BehavioralMediumModel answerDriving a Cross-Team Technical Change Without Direct Authority
Show how you built buy-in for a contested technical change across product, research, security, and infra teams, and what measurably changed afterward.
Behavioralinfluencing-without-authoritycross-functionalconflict-resolutionstakeholder-management - Machine LearningMediumModel answerEnsemble Methods: Training and Combining Multiple Models
Describe why aggregating predictions from several models often outperforms a single model, and compare common ensemble strategies.
Machine Learningensemble-learningbaggingboostingmodel-aggregation - System DesignHardModel answerThread-Safe Tag Index and Online Bookstore Architecture
Design a concurrent in-memory tagging system with correct multi-index atomicity, then architect a scalable bookstore handling high-read browsing and consistent purchases.
System Designconcurrencyobject-oriented-designdistributed-systems - System DesignHardModel answerInvestigating and Mitigating Production Latency Spikes
Walk through triaging a production alert for elevated service latency, from confirming impact to investigating root causes and restoring service.
System Designobservabilityincident-responseperformanceproduction - Statistics & ExperimentsMediumModel answerInvestigating a Drop in New User Activation
A key activation metric has fallen; walk through your diagnostic approach, data checks, hypotheses, and segmentation strategy.
Statistics & Experimentsmetricsroot-cause-analysisexperimentation - Statistics & ExperimentsHardModel answerEvaluating a New Ad Ranking Algorithm End to End
Design metrics, randomization and rollout for a new ad ranker, plus fallbacks when a clean 50/50 test is impossible.
Statistics & Experimentsexperimentationcausal-inferencea-b-testingmarketplace-interference - Machine LearningHardModel answerDesign a Personalized Food Delivery Home Feed Ranker
Design an end-to-end ML system that ranks restaurants on a food delivery app's home screen to maximize orders and long-term user satisfaction.
Machine Learningrecommendation systemsrankingtwo-towermulti-task learning - System DesignMediumModel answerQuota & Rate-Limit System for a Mobile AI App
Design the client-server quota enforcement system for a mobile AI assistant, covering API contract, Android architecture, and multi-device synchronization.
System Designrate-limitingandroidmobilereal-time - Arrays & HashingHardModel answerFewest Swaps to Bring an Array with Duplicates into Sorted Order
Given an integer array that may contain duplicates, find the minimum number of arbitrary index swaps needed to sort it in non-decreasing order.
Arrays & Hashingsortingpermutationscycle-detectiongreedy - Math & Bit ManipulationMediumModel answerBounded Robot Path Under Infinite Command Repeats
Simulate one pass of a compressed command string, then decide whether infinitely repeating it keeps the robot inside a finite region, even with obstacles.
Math & Bit Manipulationsimulationcycle-detectiongeometrystate-machine - Statistics & ExperimentsMediumModel answerDesign an Experiment for a Cargo-Bike Last-Mile Delivery Program
Design an A/B test for a bike-only dispatch pilot, covering metric selection, randomization unit trade-offs, and how shared courier supply creates interference.
Statistics & Experimentsexperimentationmarketplacea-b-testingcausal-inference - Arrays & HashingMediumModel answerPeak Average Score: Overflow, Large Files, and Java Concurrency
Aggregate student scores to find the highest per-student average, then extend the solution for huge files, negative values, integer overflow, and multithreaded processing.
Arrays & Hashingjavaconcurrencyaggregationinteger-overflow