practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6045 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.
- 6045
- Problems
- 2239
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 1291–1320 of 3806 results
- Data Structure DesignMediumModel answerBuild a Weekly Schedule Grid
Construct an interactive 7-day schedule grid with hour slots, allowing users to add titled events via a clean, state-driven dialog without duplicate data sources.
Data Structure Designfrontendreactstate-managementui-components - Machine LearningMediumModel answerLLM Systems Quick-Fire: Optimization, Evaluation, and Quantization
Answer four high-frequency technical questions on LLM inference optimization, evaluation for tool use, and quantization trade-offs.
Machine LearningLLMInference OptimizationKV CacheQuantization - Trees & GraphsMediumModel answerAnalyze Referral Chains and Detect Graph Cycles
Process referral relationships with at most one parent per user. Detect cycles, extract acyclic prefixes, and compute root ancestors and depths for all users in O(n) total time.
Trees & Graphstrees-graphsdfscycle-detectiongraph-traversal - Machine LearningMediumModel answerBuild a Centroid-Based Point Grouper Using Numpy
Write a vectorized k-means routine that groups N points into k clusters by alternating nearest-centroid assignment with mean updates, handling empty clusters and convergence.
Machine Learningk-meansclusteringnumpyunsupervised-learning - System DesignHardModel answerBuilding a Copy-Detection Pipeline for Massive Photo and Video Libraries
Design a platform that finds re-uploaded or lightly edited photos and videos across billions of items, covering fingerprinting, indexing, match thresholds, evaluation and abuse resistance.
System Designnear-duplicate-detectionperceptual-hashingembeddingsann-search - BehavioralMediumModel answerDriving a Cross-Team Decision When You Don't Own the Call
Describe a time you changed a cross-functional decision without formal authority, covering how you built buy-in, handled resistance, and what measurable result followed.
Behavioralbehavioralinfluencestakeholder-managementSTAR - BehavioralMediumModel answerHardest Technical Call: A Two-Project Retrospective
Describe the toughest technical decision from each of two different projects, covering options, trade-offs, validation, and what you would change in hindsight.
Behavioralbehavioraltechnical-decisionstrade-offsretrospective - Statistics & ExperimentsEasyModel answerStatistical Inference & A/B Testing Fundamentals
Answer core statistical questions on the Central Limit Theorem, error types, p-values, and confounding variables in product experimentation.
Statistics & ExperimentsA/B TestingHypothesis TestingCentral Limit TheoremCausal Inference - StringsMediumModel answerValidate Palindrome Rearrangements and Sum High-Precision Decimals
Check if a string's characters can form a palindrome, and implement precise addition of non-negative decimal strings without using native floating-point types.
Stringsstringsmath-bitshash-table - SQL & DataMediumModel answerVideo Call Metrics: Regional Reach and Per-User Talk Time
Write two SQL queries over daily call and profile tables: the share of French users on a call yesterday, and total U.S. call time divided by the number of U.S. daily-active users today.
SQL & Datasqljoinsaggregationdeduplication - System DesignHardModel answerBuild a Self-Destructing Inbox Platform for Throwaway Addresses
Design a service that hands out short-lived, unguessable receive-only email addresses, ingests mail at scale, and exposes it through a web UI and API before wiping it.
System Designsystem-designsmtpttlrate-limiting - BehavioralMediumModel answerEvaluating Language Selection in Front-End Coding Assessments
Justify using JavaScript in front-end coding interviews, evaluating key trade-offs against TypeScript and Python across runtime quirks, data structures, and readability.
Behavioraljavascripttypescriptpythoninterview-strategy - Heaps, Sorting & SearchMediumModel answerFind Frequent Elements in Large-Scale Data Streams
Design scalable algorithms to extract the top K most frequent elements from a data stream under both memory-bounded exact and memory-constrained approximate regimes.
Heaps, Sorting & Searchheaps-sortingdesign-dsarrays - System DesignEasyModel answerHow to Systematically Test a Mission-Critical Path Planning Service
A guide to designing a multi-tier testing strategy, mathematical runtime invariants, and safe deployment pipelines for mission-critical spatial planning services.
System Designsystem-designtestingreliabilitydistributed-systems - BehavioralMediumModel answerMastering Behavioral Interviews: Tech-Focused Storytelling Frameworks
Learn how to craft high-impact behavioral answers for principles like ownership, customer obsession, and deep dives using data-driven frameworks.
Behavioralbehavioralleadership-principlesinterview-prepcareer - StringsMediumModel answerDebugging and Hardening a Lightweight Template Engine
Trace three root causes in a minimal template rendering engine—regex greediness, loop parsing, and path traversal—and present targeted fixes with regression tests.
Stringsdebuggingparsingregexsecurity - BehavioralMediumModel answerNavigating Critical Production Outages and Incident Response
Demonstrate technical ownership, structured troubleshooting, stakeholder management, and preventative measures during a severe production incident.
Behavioralbehavioralincident-responsesystem-designleadership - Statistics & ExperimentsHardModel answerOptimal Stopping on a Die Game with Square Traps
Evaluate optimal stopping strategies and dynamic programming formulations for a die-rolling game where landing on perfect squares results in total loss.
Statistics & Experimentsprobabilitydynamic-programmingoptimal-stoppinggame-theory - Machine LearningMediumModel answerDesign a Content Feed Ranking Pipeline & Objective Formulations
Design a large-scale personalized social network feed architecture and compare pointwise, pairwise, and listwise ranking strategies across training, serving, and business metrics.
Machine Learningmachine learning system designlearning to rankmulti-task learningrecommendation system - Machine LearningMediumModel answerPredicting Rising Products and Serving Them in a Personalized Feed
Design a daily forecasting pipeline that spots products about to surge in sales, plus a sub-100ms personalized homepage feed that surfaces them, including cold-start handling.
Machine Learningml-system-designrecommendationtime-series-forecastingcold-start - BehavioralMediumModel answerNavigating Project Impact, Technical Disagreements, and Mentorship
Learn how to present structured behavioral answers covering end-to-end delivery, mentorship, interpersonal conflict, and technical disagreements using clear evaluation criteria.
Behavioralbehavioralleadershipcommunicationconflict-resolution - System DesignMediumModel answerReview a Seat-Booking Backend for Security and Data Integrity
Review a small Python and SQL ticket-booking service by reading only, and write at least ten fix-oriented comments across security, concurrency, schema, reliability and maintainability.
System Designcode-reviewsql-injectiontransactionsrace-conditions - Statistics & ExperimentsHardModel answerDetermining Optimal Real-Time Group Video Capacity via A/B Testing
Design a multi-arm experiment to pick the optimal group video call limit among 4, 8, and 16 participants while accounting for network interference, safety guardrails, and non-linear effects.
Statistics & Experimentsexperimental designA/B testinginterferenceguardrail metrics - System DesignMediumModel answerBuild a Usage and Quality Metrics Console for an LLM Chatbot
Design a metrics pipeline and console for a multi-tenant LLM chatbot that ingests about 5k events/s and supports sliceable, low-latency queries with 30-day detail and 1-year rollups.
System Designobservabilityolapkafkatime-series - System DesignHardModel answerDesigning a Graph-Based Authorization Service and Zero-Downtime Migration
Design a scalable graph database schema for user-resource authorization (ReBAC) and plan a zero-downtime migration strategy from a legacy relational system.
System Designsystem-designauthorizationgraph-databasemigration - Trees & GraphsMediumModel answerValidate-As-You-Go Calculator with Positive Integer Results
Evaluate a split-based arithmetic expression, returning false the moment any literal or intermediate value is non-positive or non-integer.
Trees & Graphsrecursionexpression-evaluationpost-orderparsing - Machine LearningMediumModel answerWhich Fix Fails to Cure Vanishing Gradients in Deep Nets?
Pick the option that does not reliably address vanishing gradients in a deep network and justify it, while assessing how the other three techniques work and where they fall short.
Machine Learningdeep-learningvanishing-gradientsbackpropagationbatch-normalization - Data Structure DesignMediumModel answerBuild an In-Memory Database with Querying and Indexing
Design and write code for an in-memory document store that supports dynamic schemas, predicate filtering, projection, ordering, and index optimization.
Data Structure Designin-memory-dbindexingdata-structuresdata-structure-design - Data Structure DesignMediumModel answerConcurrency Safety, Deadlocks, and Array vs Linked List Tradeoffs
Four short fundamentals questions: what makes code safe under concurrent use, what a deadlock is, how to handle deadlocks, and how contiguous arrays compare with pointer-based linked lists.
Data Structure Designconcurrencythread-safetydeadlockarrays - BehavioralMediumModel answerSix Behavioral Stories: Pressure, Conflict, Feedback, Initiative
Prepare structured stories on a tight deadline, helping others, root-cause analysis, a peer conflict, work beyond your remit, and harsh feedback, each with concrete actions and results.
Behavioralbehavioralleadershipstar-methodconflict-resolution