practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6008 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.
- 6008
- Problems
- 2226
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 691–720 of 3782 results
- Data Structure DesignMediumModel answerBuild an In-Memory Price History Store with One-Shot Updates
Design a per-symbol price store supporting lookups, custom change formulas, atomic range updates that can touch each slot only once, and a switch from daily to hourly data.
Data Structure Designdata-structure-designtime-seriesatomic-updateshash-map - System DesignEasyModel answerPinpointing a Storage Bottleneck on a Slow Production Host
Walk through how to confirm whether disk I/O is slowing a service, find which process drives it, characterize the workload, and propose measured fixes.
System Designlinuxperformanceiostatstorage - Statistics & ExperimentsHardModel answerPlan a Checkout Experiment with Safety Metrics and Pre-Set Rules
Design a controlled experiment for a redesigned checkout flow: hypothesis, sample size, randomization, non-inferiority guardrails, a frozen analysis plan, and multiplicity control.
Statistics & Experimentsab-testingexperiment-designpower-analysisguardrail-metrics - System DesignMediumModel answerPermission-Aware Q&A Assistant over Issue Tracker and Wiki
Design an MVP retrieval-augmented assistant that answers employee questions across a ticketing system and a wiki, with citations, per-user access control, and fresh data.
System Designragretrievalaccess-controlhybrid-search - System DesignMediumModel answerDesigning a Safe Release and Reliability Plan for a Fleet Event Pipeline
Design an end-to-end reliability plan for an event-ingestion service: guarded dependency calls, SLO-based alerting, reversible schema changes, and a canary pipeline with automatic rollback.
System Designcircuit-breakerslocanary-deploymentschema-migration - System DesignMediumModel answerBuilding a Scalable Short-Link Service from Scratch
Design a service that maps long web addresses to compact codes and serves redirects at very high read volume, covering API, storage, code generation and caching.
System Designsystem-designurl-shortenercachingkey-generation - System DesignHardModel answerDesign a Scalable IAM Platform for Users and Services
Design a multi-tenant Identity and Access Management system with SPIFFE-style workload attestation, dynamic RBAC/ABAC policy evaluation, local enforcement, and tamper-evident auditing.
System Designsystem-designsecurityiamdistributed-systems - System DesignEasyModel answerSecure S3 Upload Patterns and TypeScript Structural Typing
Architect secure, direct S3 uploads via pre-signed URLs/IAM and analyze TypeScript structural typing alongside React useEffect async cleanup.
System DesignAWSS3IAMTypeScript - System DesignHardModel answerTroubleshooting a Distributed Cache Degradation Incident
Walk through an end-to-end incident response plan for high cache misses and service latency, covering triage, observability, hypothesis testing, mitigations, and post-incident RCA.
System Designcachingincident-responsedistributed-systemsobservability - BehavioralMediumModel answerLeading a Quiet, Vague Analytics Interview Without Losing Rigor
Explain how you would take charge of a 45-minute analytics case with silent interviewers and a fuzzy prompt: agree on a goal and metric, record assumptions, and deliver a defensible conclusion.
Behavioralstakeholder-managementmetric-designambiguitycommunication - System DesignMediumModel answerDesign a Secure User Registration and Authentication Service
Architect an in-house email/password signup and login system emphasizing secure password storage, API contract design, session state management, and edge-case handling.
System Designauthenticationsecurityapi-designdatabase-design - System DesignMediumModel answerBuild a Tenant-Isolated Platform for Selling and Streaming Courses
Design a SaaS learning platform where organizations run separate course catalogs, learners buy access via an external payment provider, and prerequisite rules gate enrollment.
System Designsystem-designmulti-tenancypaymentsidempotency - Statistics & ExperimentsHardModel answerDesign Flexible Profile Expression for a Swipe-Based Dating App
Design a profile-personalization feature for a swipe-based dating app that works for both Millennial and Gen Z users, then plan the research, launch, metrics and feedback loops.
Statistics & Experimentsproduct-senseexperiment-designmarketplaceuser-research - Data Structure DesignMediumModel answerBinary Wire Format for a Nested Key-Value Map
Design and implement a versioned, checksummed binary format that converts a nested key-value map to bytes and back, and compare it with JSON and MessagePack.
Data Structure Designserializationbinary-formatchecksumversioning - System DesignHardModel answerDesign a Real-Time Ride-Matching Platform and a Price-Alert Service
Architect two scalable backend platforms: a low-latency, geo-partitioned ride-hailing system and an asynchronous, queue-decoupled price tracking and notification pipeline.
System Designsystem-designdistributed-systemsgeospatialevent-driven - System DesignMediumModel answerWalk Through and Justify a System You Built From Scratch
Open-ended round: describe a significant system you personally owned, then justify its design, technology choices and hardest problems while an interviewer questions each decision.
System Designproject-deep-divearchitecturetrade-offsownership - BehavioralMediumModel answerBehavioral Round: Project Ownership, Cross-Team Incidents, Difficult Peers
Prepare structured answers on a recent project, a hard technical problem, a cross-team incident from both sides, and working with a challenging colleague.
Behavioralbehavioralleadershipconflict-resolutionstakeholder-management - Data Structure DesignHardModel answerDesign an In-Memory Sentence Search Index
Design a data structure that supports adding, removing, and efficiently querying sentences by keyword in real time.
Data Structure DesignData Structure DesignInverted IndexStringHash Table - System DesignMediumModel answerStrategy Review of a Four-Sided Short-Video Platform
Analyze a short-video platform as a four-sided marketplace of viewers, creators, advertisers and merchants, then propose and defend a 12-month strategy with metrics and trade-offs.
System Designproduct-strategyplatform-ecosystemmarketplacemetrics - Statistics & ExperimentsMediumModel answerGrouped Data Modeling: Random Intercepts, Slopes and Shrinkage
Describe how a model with both population-level and group-level terms works, when to treat group labels as random versus fixed, how to read its outputs, and which problems to watch for.
Statistics & Experimentsmixed-effectshierarchical-modelsshrinkageregression - BehavioralMediumModel answerTurning Hard Criticism Into Measurable Growth
Walk through a time you got tough, work-relevant criticism, how you tested its validity, changed a specific habit, and showed with evidence that the change worked.
Behavioralbehavioralfeedbackgrowth-mindsetself-awareness - BehavioralMediumModel answerOwning a Failing Model Under Deadline Pressure and Disagreement
Behavioral prompt: you inherit a declining metric or model, disagree with the team's fix, and must make a time-boxed recommendation while managing risk, stakeholders, and accountability.
Behavioralbehavioralleadershipinfluencerisk-management - System DesignMediumModel answerToken Budgeting and Context Assembly for a Document-Analysis LLM
Design a middleware that packs prompt, history, retrieved passages and tool results into a 32k-token window with prioritization, citations, injection isolation and fallbacks.
System Designllmragcontext-windowprompt-injection - BehavioralMediumModel answerFour Behavioral Stories on Ownership, Failure and Shifting Priorities
Prepare structured stories on exceeding expectations, a real failure, juggling competing requests, and adapting to shifting requirements, showing ownership and sound prioritization.
Behavioralbehavioralleadershipprioritizationstar-method - System DesignMediumModel answerPython Deep Dive: Runtime Mechanics, Generators, Concurrency, and Contexts
Analyze Python runtime behaviors including mutable defaults, generator execution and cleanup, GIL-bound concurrency choices, and custom context manager protocols.
System Designpythonconcurrencymemory-managementruntime-mechanics - Statistics & ExperimentsMediumModel answerStress-Testing a Debit Card Spare-Change Savings Launch
Audit a spare-change savings proposal: find the riskiest behavioral and statistical assumptions, design cheap validation tests, and plan guardrails for side effects.
Statistics & Experimentsexperimentationproduct-analyticsab-testingcausal-inference - System DesignMediumModel answerBuild a Multi-Tenant Task Tracker API at Scale
Design a backend for a personal task manager serving millions, covering API contracts and versioning, tenant isolation, per-user throttling, caching, and data partitioning.
System Designsystem-designrest-apirate-limitingcaching - Statistics & ExperimentsMediumModel answerTesting a Courier-Priority Elevator Rule in Apartment Towers
Design an experiment to test whether dedicating one elevator to couriers at peak hours speeds up deliveries without hurting residents, covering randomization, metrics, and interference.
Statistics & Experimentsab-testingexperiment-designcluster-randomizationswitchback - System DesignMediumModel answerReservation Service Design: REST Endpoints, Schema, Date Inventory
Design a REST API and database schema for booking a stay or rental, compare per-day and interval inventory models, and support extending an existing reservation.
System Designrest-apischema-designinventory-modelingconcurrency - Statistics & ExperimentsMediumModel answerPooling Two Sensors and Correlation in a Lattice Walk
Find the minimum-variance linear unbiased way to pool readings from two sensors, then compute the correlation of coordinates, and of their absolute values, for a walk on the square lattice.
Statistics & ExperimentsestimationBLUEinverse-variance weightingrandom walk