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 781–810 of 3785 results
- System DesignMediumModel answerTriaging a CPU Saturation Incident on a Customer-Facing API
Talk through how you would scope, diagnose, mitigate and follow up when a revenue-critical public API suddenly runs near 100% CPU, and justify your choice among rollback, scaling, throttling and queues.
System Designincident-responsetroubleshootingprofilingcapacity - Statistics & ExperimentsHardModel answerGrowing Active Users of a Team Messaging Product via Experiments
Design a growth plan for a workplace chat tool with weak adoption: pick metrics, form hypotheses, plan a sequence of A/B tests, and set pre-agreed ship criteria.
Statistics & Experimentsab-testinggrowth-metricsnetwork-effectsexperiment-design - System DesignHardModel answerBuild a Read-Optimized Geo-Replicated Key-Value Database
Design a multi-region key-value database tuned for heavy reads, covering storage engine, sharding, replication, consistency, failure handling, hotspots and capacity planning.
System Designdistributed-systemskey-value-storereplicationconsistency - Data Structure DesignMediumModel answerExpiring Store, Reversible Actions, and Org Chart Walk
Three short design-and-code tasks: a key-value store with per-entry lifetimes and background pruning, an action history with undo/redo, and a depth-first walk over a hierarchy.
Data Structure Designcachettlmin-heapundo-redo - Data Structure DesignMediumModel answerPhoto Slideshow with Ranked Comment Threads and Safe Voting
Design a slideshow widget plus per-photo comment threads with idempotent voting and fast top-k ranking, scaling to 10^5 photos and 10^6 comments.
Data Structure Designdata-structure-designsorted-indexidempotencypagination - BehavioralMediumModel answerFour Workplace Tension Stories: Manager, Ambiguity, Coaching, Peers
Prepare structured stories for four behavioral prompts: disagreeing with a manager, handling vague requirements, coaching a colleague, and working with a hard-to-collaborate-with peer.
Behavioralbehavioralstar-methodconflict-resolutionmentoring - System DesignMediumModel answerDesign a Real-Time Event Venue Booking Platform Architecture
Design a high-level architecture for an event venue reservation platform, focusing on double-booking prevention, concurrency control, and interval-based storage.
System Designsystem-designconcurrencydatabase-designdistributed-systems - BehavioralMediumModel answerDemonstrating Responsible AI Usage and Code Verification in Engineering
Describe how you effectively integrate AI tools into your software development workflow while maintaining code quality through rigorous validation and human oversight.
Behavioralai-toolscode-qualitysoftware-engineering-practicesbehavioral - Data Structure DesignEasyModel answerPython Tuples, Dict Internals, and Error Handling in a Record Store
Answer three fundamentals questions: tuple rebinding and shallow immutability, how a hash table handles insert, lookup, update and delete, and where to raise and catch errors in a record class.
Data Structure Designpythonimmutabilitytupleshash-table - System DesignMediumModel answerMicroservice Security Architecture: Identity, Secrets, and Response
Design an enterprise microservice security blueprint covering mTLS workload identity, dynamic secret management, zero-downtime rotation, and immediate secret compromise containment.
System Designsecuritymtlsvaultsecrets-management - Math & Bit ManipulationMediumModel answerEight Number Puzzles: Spot the Rule, Predict the Next Value
Work out the hidden rule behind eight short numeric and fractional sequences, state the next term for each, and justify it against every given term.
Math & Bit Manipulationsequencespattern-recognitionrecurrence-relationsmental-math - BehavioralMediumModel answerTackling a Problem That Beat You, Your Team, and Your AI Tools
Behavioral prompt: tell the story of a hard technical problem that peers and AI assistants couldn't crack, and show the method you used to make progress anyway.
Behavioralbehavioraldebuggingproblem-solvingreliability - BehavioralMediumModel answerDemonstrating Adaptability, Prioritization, and Composure Under Pressure
A detailed guide on answering multi-part behavioral questions about tight deadlines, rapid learning, interview preparation, and maintaining professional composure under stress.
Behavioralbehavioralprioritizationcommunicationleadership - BehavioralMediumModel answerMastering the Engineering Manager Behavioral Screen
Learn how to answer core engineering leadership interview questions spanning technical complexity, company alignment, tight deadlines, cross-team alignment, and system health.
Behavioralbehavioralleadershipproject-managementsystem-health - System DesignMediumModel answerWorkout Tracker Backend: Live Routes, Period Rankings, Social Boards
Design the backend for a workout-tracking app with real-time route sharing to followers, top-workout queries over date ranges, and ranked boards of aggregated user stats.
System Designsystem-designleaderboardsredisstreaming - BehavioralMediumModel answerFour Behavioral Prompts on Disagreement and Influence for Data Scientists
Prepare structured stories on teammate conflict, pushing back versus pivoting, persuading skeptical seniors, and handling a difficult colleague, with decision logic and measurable results.
Behavioralbehavioralconflict-resolutionstakeholder-managementinfluence-without-authority - Machine LearningHardModel answerDesigning a Leak-Free Weekly Churn Model Pipeline
Design a weekly batch churn-prediction system for millions of subscribers, covering leakage-free features, rare positives, time-aware validation, metrics, and drift monitoring.
Machine Learningchurn-predictiondata-leakageclass-imbalancebacktesting - StringsMediumModel answerStream Data Processing with Early Cutoff on Sequence Detection
Yield data from a continuous stream of string fragments, terminating immediately when a specific multi-character sequence is identified across fragment boundaries.
Stringsstringssliding-windowtwo-pointerskmp - Machine LearningMediumModel answerBuild a Document Q&A Pipeline with Retrieval and Grounded Prompts
Wire together a given embedder, vector store and LLM into a retrieval-augmented question-answering flow, then justify vector similarity search and when this approach beats alternatives.
Machine Learningragembeddingsvector-searchcosine-similarity - BehavioralMediumModel answerTurning Vague Requests into Plans and Aligning Teammates
Prepare a three-part behavioral answer: clarifying a fuzzy business request, resolving a disagreement within your team, and explaining a technical idea to non-technical stakeholders.
Behavioralbehavioralcommunicationstakeholder-managementconflict-resolution - Trees & GraphsHardModel answerFastest Route Through Only the Courses a Goal List Needs
Given courses with durations, prerequisite links and a list of goal courses, compute the minimum time to finish the goals and their needed prerequisites, as total effort and as elapsed time.
Trees & Graphsgraphtopological-sortdagcycle-detection - Statistics & ExperimentsHardModel answerExperiment Plan for an LLM-Powered Inline Rewrite Feature
Plan a controlled experiment for an inline AI rewrite feature: choose metrics and guardrails, pick the randomization unit, size the test, and guard against bias.
Statistics & Experimentsab-testingexperiment-designmetricsstatistical-power - BehavioralMediumModel answerCareer Story and Motivation for a Cloud Platform Role
Deliver a concise career narrative, justify why you want a cloud-infrastructure engineering role at an enterprise SaaS company now, and name evidence-backed strengths.
Behavioralbehavioralself-introductionmotivationcareer-narrative - System DesignMediumModel answerChoosing Worker Count When Merge Cost Grows Quadratically
Pick the worker count that best minimizes total runtime when compute scales as n/k and combining partial results costs k squared, then justify it with analysis and trade-offs.
System Designdistributed-systemsscalabilityasymptotic-analysisparallelism - Statistics & ExperimentsHardModel answerExperiment Design for a Social Sharing Feature with Spillover
Plan an experiment for a viewing feature that spreads through friend networks: pick metrics, handle interference, explain SUTVA, run an artwork multivariate test, and estimate segment effects.
Statistics & Experimentsab-testingnetwork-effectssutvacluster-randomization - System DesignHardModel answerUltra-Low-Latency Quoting Platform: Colo Core and Remote Control Plane
Architect a market-making stack for futures and options with a co-located hot path, microsecond latency targets, hard safety controls, and a remote operations site.
System Designlow-latencymarket-makingkernel-bypasslock-free - Data Structure DesignMediumModel answerCoalescing Single-Key Reads into Timed Batch Requests
Build a callback-driven client that gathers individual key requests into one batched GET every 100 ms, using only a timer and an async HTTP primitive, while keeping overlapping batches isolated.
Data Structure Designevent-loopbatchingcallbackstimers - BehavioralHardModel answerNavigating a Deep Technical Disagreement With a Peer
Walk through a real technical disagreement with a colleague: both viewpoints, how you evaluated the options, what was decided, and how you kept the working relationship strong afterward.
Behavioralbehavioralconflict-resolutiondisagree-and-commitdecision-making - System DesignMediumModel answerShipping a Fraud Scoring Model: Rollout, Observability, 50 ms Tail
Plan how to release a fraud classifier to production, watch it over time, and bring its online p99 latency under 50 ms without giving up much accuracy.
System Designmlopsmodel-deploymentmonitoringlatency - Machine LearningMediumModel answerBounded-Memory Online Clustering of a Numeric Stream
Design and code a clustering routine for an endless stream of numbers that keeps only small per-cluster summaries, and discuss seeding, convergence, outliers, drift, and testing.
Machine Learningstreamingonline-clusteringk-meansconcept-drift