practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6003 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.
- 6003
- Problems
- 2223
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 631–660 of 3780 results
- System DesignHardModel answerDependency-Aware Boot Orchestrator for a Many-Core Host
Design a scheduler that boots interdependent services on one multi-core machine as fast as possible, handling failures, resource limits, observability, and extension to a cluster.
System Designschedulingdagtopological-sortconcurrency - System DesignMediumModel answerDesign a Sharded Replicated Key-Value Store for 1M Ops/Sec
Design a distributed key-value database serving 1M ops/sec over 50M records with low tail latency, five-nines availability, tunable consistency and durable acknowledged writes.
System Designdistributed-systemskey-value-storereplicationconsistent-hashing - Machine LearningMediumModel answerPriority Inbox and Thread Digests for a Large Webmail Product
Design a low-latency, privacy-preserving system that reorders a user's inbox by importance and attaches faithful LLM-written digests to the most important threads.
Machine Learningml-system-designlearning-to-rankllm-summarizationprivacy - Data Structure DesignMediumModel answerBuilding a Cache-Friendly Lookup Table for a Hot Loop
Design a hash table for a performance-critical inner loop, covering collision strategy, memory layout, probing, load factor, prefetching, and how to benchmark it.
Data Structure Designhash-tableopen-addressingsimdcache-optimization - System DesignMediumModel answerServing a Video Captioner on a Tight GPU Budget, Then Searching It
Design a memory- and compute-efficient serving stack for a multimodal video captioning model, then a fast search-and-watermark pipeline for advertisers over existing captions and embeddings.
System Designml-system-designmultimodalmodel-servingquantization - Greedy & IntervalsMediumModel answerDecode Non-Overlapping Keyphrase Spans from BERT Logits
Implement a decoder that converts token start and end logits into non-overlapping character spans using offset mappings and greedy selection.
Greedy & Intervalsstringsgreedy-intervalsmachine-learningsorting - BehavioralMediumModel answerData Scientist Ownership Stories: Impact, Failure, Communication
Four behavioral prompts for modeling roles: an end-to-end project with a trade-off, your ideal team setup, a production failure, and explaining model outputs to non-technical partners.
Behavioralbehavioraldata-scienceownershipstakeholder-communication - System DesignHardModel answerMetadata Store for Folders, Quotas and Largest-File Queries
Design an in-memory hierarchical file metadata service with create, recursive delete, fast top-k largest files per directory, and nested quota enforcement, plus a multi-node scaling plan.
System Designsystem-designtreesorted-indexquota - BehavioralMediumModel answerCareer Break Story and Recent Project Ownership Walkthrough
Answer a status-and-gap question concisely, then give a project deep-dive that separates your own work from the team's, with decisions, measurable results, and lessons.
Behavioralbehavioralproject-deep-diveownershipemployment-gap - System DesignMediumModel answerPhoto Library Backend: Safe Uploads, Dedup and Database Growth
Design the storage backend for a photo-sharing service, covering upload consistency, instant visibility, duplicate prevention, and how to justify and scale the metadata database.
System Designsystem-designobject-storageconsistencydeduplication - System DesignMediumModel answerSingle-Active Worker Coordination with Expiring Redis Locks
Design a way for a fleet of identical workers to pick exactly one active instance using Redis expiring keys, covering failover, fencing, pauses, clock assumptions and Redis outages.
System Designleader-electionredisdistributed-systemsfencing-token - Data Structure DesignHardModel answerGreedy Longest-Match Subword Encoder Built on a Byte Trie
Design and implement a deterministic subword encoder that uses a trie for longest-match lookup, with lossless Unicode handling, versioned vocabularies, tests, and a comparison with BPE and WordPiece.
Data Structure Designtrietokenizerunicodenlp - BehavioralMediumModel answerBehavioral Prep: Extra Mile, Failed Disagreement, Demand Project
Prepare three structured stories for a data scientist loop: exceeding scope, a disagreement that went badly, and a deep dive on a project forecasting fluctuating demand in a marketplace.
Behavioralbehavioralstar-methoddata-sciencestakeholder-management - Heaps, Sorting & SearchMediumModel answerBatched API Delivery with Delay-Aware Retries
Deliver a list of requests through an API capped at five per call, retrying failures only after each request's own cooldown, without busy-waiting or blocking on one failure.
Heaps, Sorting & Searchbatchingretryschedulingpriority-queue - Machine LearningHardModel answerDefining Core Metrics for a Web Threat Detection Classifier
Define and evaluate a primary metric for an automated web threat detection system, balancing user protection, false alarm friction, and ground-truth validation strategies.
Machine LearningMetricsMachine LearningSystem DesignEvaluation - System DesignMediumModel answerTCP vs UDP Trade-offs and How TCP Infers Packet Loss
Compare TCP and UDP across reliability, ordering, congestion control, setup and overhead, then explain how TCP detects loss through timers, duplicate ACKs and SACK.
System Designnetworkingtcpudpcongestion-control - Statistics & ExperimentsHardModel answerNegative Skew in Returns and the Two Terms of a Call Price
Explain what negative skew means for return distributions and tail risk, then interpret each of the two terms in the Black–Scholes call formula using risk-neutral probabilities.
Statistics & Experimentsskewnesstail-riskblack-scholesrisk-neutral-pricing - System DesignHardModel answerGlobal Edge Abuse-IP Filtering with Fast Rollback
Design a worldwide edge service that scores client IPs per request, shares abuse signals between regions within seconds, and can undo bad blocklist changes in under ten seconds.
System Designsystem-designdistributed-systemsedge-computingreplication - Statistics & ExperimentsMediumModel answerEvaluating a Free-Trial Experiment on Paid Subscriptions
Design metrics, test conversion lift, assess 30-day churn, and make a rollout call for an A/B test offering free users a trial of a paid plan.
Statistics & Experimentsab-testingconversion-liftchurntwo-proportion-test - BehavioralMediumModel answerDescribe a Time You Made a Trade-off or Compromise with Team Members
Demonstrate how you handle technical disagreements, balance competing priorities, follow through on long-term goals, and reflect on the outcome.
Behavioralbehavioralconflict-resolutionleadershipcommunication - System DesignHardModel answerMultithreaded Shortest-Path Search for a Wheel Combination Lock
Design a thread-parallel breadth-first search that finds the fewest moves to open a multi-wheel combination lock, covering work splitting, safe visited tracking, level ordering and trade-offs.
System Designbfsconcurrencyparallel-algorithmsgraph-search - System DesignMediumModel answerSpring Core, Aspect-Oriented Programming, Data Access, and Security Assessment
Evaluate key Spring concepts including ApplicationContext configuration, AOP advice selection, dependency injection, JdbcTemplate mapping, DataSource configuration, and Security authorization rules.
System Designjavaspringspring-bootspring-security - BehavioralMediumModel answerProactive Course Correction in Projects and Professional Trajectory
Demonstrate strategic agency, rigorous trade-off evaluation, and effective stakeholder management when changing course on a major initiative or career direction.
Behavioralleadershipagencydecision-makingcommunication - System DesignHardModel answerScalable Backend for a High-Traffic Book Retail Platform
Design the backend of a book-selling website that survives flash sales, with fast search, no overselling of stock, and safe recovery when payment and inventory steps fail partway.
System Designsystem-designe-commerceinventorysaga - BehavioralMediumModel answerFrom Customer Pain to a Scoped First Release: A PM Playbook
Describe how a product manager confirms a team is tackling a real customer problem, scopes the smallest useful first release, aligns stakeholders, launches, and judges the result.
Behavioralproduct-managementmvpproblem-validationprioritization - System DesignHardModel answerMoving 200 TB of Media to GPUs Under a 72-Hour Deadline
Design a plan to relocate 200 TB of images and video from a bandwidth-limited data center to a cloud GPU cluster, then feed training fast, reproducibly, and with verified integrity.
System Designdata-pipelinedata-migrationdistributed-trainingstorage - System DesignHardModel answerSkill-Based 1v1 Pairing Backend for a Board Game Platform
Design a scalable, fault-tolerant service that pairs two players of similar rating, loosens its criteria as waiting grows, supports cancellation, and discourages opponent dodging.
System Designmatchmakingdistributed-systemsredispartitioning - Data Structure DesignMediumModel answerStar Feedback Widget with Compose and a ViewModel
Build a Compose feedback form with a 1-5 star selector, a capped comment field and an async submit, driven by a single ViewModel state stream that survives rotation and double taps.
Data Structure Designkotlinjetpack-composeandroidmvvm - SQL & DataMediumModel answerRolling Cold-Food Delivery Metric Calculation in PostgreSQL
Write PostgreSQL queries to flag cold food deliveries, calculate daily and rolling 7-day cold delivery rates, rank restaurants, and detect courier quality outliers with z-scores.
SQL & Datasqlwindow-functionsaggregationscte - System DesignMediumModel answerBackend Design for a Offline-Capable, Cross-Device Scheduling App
Design the backend for a scheduling app where one user's devices stay in sync, edits work offline, and repeating events are stored and queried efficiently at 10M daily users.
System Designsystem-designsyncconflict-resolutionrecurrence