practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6077 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.
- 6077
- Problems
- 2253
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 1831–1860 of 6077 results
- BehavioralMediumModel answerBehavioral Round: Motivation, Initiative, and Disagreement Stories
Prepare structured stories on why you want a role, when you took initiative unprompted, how you handled a workplace disagreement, and what drives you.
Behavioralbehavioralstar-methodconflict-resolutionownership - Data Structure DesignMediumModel answerLayered Ledger Service: Cash, Transfers, Fees and Held Funds
Design and code a bank ledger that grows in stages: cash operations, per-account statements with failures, internal and external transfers with fees, and delayed transfers that lock funds.
Data Structure Designledgermoney-handlingobject-oriented-designtransactions - Heaps, Sorting & SearchMediumAuto-gradedFind Array Peak Index and Form Unique Word Abbreviation List
Locate a local peak index in an array via binary search and generate minimal unambiguous string abbreviations for a list of words.
Heaps, Sorting & Searchbinary-searchstringshash-maparrays - Arrays & HashingEasyAuto-gradedOrder Each Neighboring Couple in a List, Skipping a Lone Tail
Reorder the two values inside every consecutive couple of a list so the smaller comes first, keeping couples in place and leaving an unpaired final value alone.
Arrays & Hashingarraystwo-pointerssimulationindex-handling - Arrays & HashingMediumAuto-graded2D Matrix Cross-Correlation Filter
Compute the 2D cross-correlation between a grid matrix and a filter kernel using valid padding and stride 1.
Arrays & Hashingarraysmatrix - Arrays & HashingEasyAuto-gradedBinomial Process Modeling and Moment Computation
Return theoretical properties and compute the expected value and variance for a Binomial random variable given sample size n and success probability p.
Arrays & Hashingbinomialprobabilitystatisticsmath - System DesignMediumModel answerScalable Notification Platform for Large-Scale Event Reminders
Design a platform that tracks a million active events and reliably emails every registrant about reminders, changes, cancellations and follow-ups, covering scale, delivery guarantees and compliance.
System Designsystem-designemail-pipelinemessage-queuescheduler - Dynamic ProgrammingMediumModel answerCheapest Fence Painting With No Matching Neighbors
Color a row of posts from a cost table so no two neighbors match, minimizing total cost, using memoized recursion and a space-optimized bottom-up DP, and recover one optimal coloring.
Dynamic Programmingdynamic-programmingmemoizationspace-optimizationreconstruction - Data Structure DesignMediumAuto-gradedDesign an In-Memory Database Engine
Simulate an in-memory single-table key-value store supporting lookup, update, and sorted conditional selection queries.
Data Structure Designhash-mapdesignsortingstrings - Trees & GraphsMediumAuto-gradedAssemble a Reply Thread Forest from Flat Records
Convert an unordered flat list of records with parent links into a nested forest, preserving input order and rejecting duplicate ids, missing parents and cycles.
Trees & Graphstree-constructionhash-mapcycle-detectionforest - Trees & GraphsEasyAuto-gradedLabel Each Node as Root, Inner, or Leaf from Parent Links
Classify every node of a rooted tree given as [id, parent_id] pairs into Root, Inner, or Leaf, using a set of parent ids, and return the labels sorted by id.
Trees & Graphstreehash-setclassificationsorting - Math & Bit ManipulationMediumAuto-gradedCalculate Minimal Clock Hand Separation Angle
Parse 24-hour timestamp strings (including optional seconds and milliseconds) and calculate the minor angle between analog clock hands.
Math & Bit Manipulationmathstringsgeometry - System DesignHardModel answerDesign an Enterprise Event Analytics and Tracking Platform
Design an end-to-end event collection, processing, and storage platform supporting interactive dashboard queries and deep historical analytics.
System Designsystem-designdistributed-systemsevent-drivendata-engineering - StringsEasyAuto-gradedMinimum Replacements to Eliminate Consecutive Equal Triples
Find the total minimum number of character modifications required to prevent any character from repeating 3 or more times consecutively across a collection of strings.
Stringsstringsgreedy - Machine LearningMediumModel answerWhy Boosted Trees Generalize Better Than One Deep Tree
Explain which regularization mechanisms in gradient-boosted trees limit overfitting compared with a fully grown tree, and when boosting can still overfit.
Machine Learningxgboostgradient-boostingoverfittingregularization - SQL & DataMediumModel answerDropping Ever-Free Companies Before Monthly YoY Signup Counts
Rework a monthly new-customer and year-over-year report so companies listed in a free-plan table vanish from every month, using a duplicate-safe anti-join applied before aggregation.
SQL & Datasqlanti-joinnot-existscte - System DesignEasyModel answerDesign an Enterprise Metrics Aggregation and Alerting Platform
Design a scalable, highly available observability system that ingests 1M data points per second, supports low-latency querying across retention tiers, and executes real-time alert conditions.
System Designsystem-designtime-seriesstream-processingobservability - Machine LearningMediumModel answerDiagnosing a Post-Release Quality Collapse in a Production Model
Walk through how you would investigate and fix a classifier whose live quality fell sharply right after a release, covering metrics, tooling, root-cause isolation and prevention.
Machine Learningmlopsmodel-monitoringdata-driftdebugging - System DesignMediumModel answerDesign a Globally Scalable Video-on-Demand Platform
Architect an architecture for video ingestion, parallel adaptive-bitrate transcoding, and low-latency global delivery serving millions of concurrent streams.
System Designsystem-designcdnvideo-streamingdistributed-systems - Trees & GraphsMediumModel answerMinimum Additions to Equalize Every Subtree Sum
Calculate the minimum non-negative value additions needed so that the node sum of every subtree in a binary tree equals K, returning -1 if impossible.
Trees & Graphstrees-graphspost-ordergreedydepth-first-search - Arrays & HashingMediumAuto-gradedMost Common Values with First-Seen Tie-Breaking
Return the k most frequent values in an integer list, ordered by count and then by first appearance, using hash counting and frequency buckets for linear time.
Arrays & Hashinghash-mapbucket-sortfrequency-counttop-k - Statistics & ExperimentsMediumModel answerResolving Subgroup Reversals and Aggregation Bias in Experiments
Detect composition shift and Simpson's paradox in A/B tests, build stratified estimators, and establish decision rules for heterogeneous subgroup effects.
Statistics & ExperimentsA/B TestingStratificationSimpson's ParadoxHeterogeneity - Trees & GraphsMediumAuto-gradedReveal Cells on a Mine Grid After a Tap
Simulate one tap on a minesweeper grid, using a flood fill from zero-count cells to reveal connected safe regions and their numbered borders.
Trees & Graphsbfsflood-fillgridsimulation - System DesignMediumModel answerArchitecting a Card Network Transaction Processing Engine
Design a high-throughput, fault-tolerant card payment processing network that handles dual-phase payment processing, ledger auditing, and stand-in processing.
System Designsystem-designdistributed-systemspaymentsevent-driven - Greedy & IntervalsMediumAuto-gradedFewest Conference Rooms for a Day of Bookings
Find the fewest rooms that can host every booking in an unordered list of half-open time ranges, where back-to-back bookings may share a room.
Greedy & Intervalsintervalssweep-linesortinggreedy - BehavioralMediumModel answerDriving Product Strategy for Stagnant Mobile App Engagement
Outline an end-to-end strategy to re-ignite user engagement for a consumer app experiencing stagnant active user growth, including metrics, solutions, and roadmap.
Behavioralproduct strategymetricsprioritizationroadmap - BehavioralMediumModel answerFive-Part Self-Introduction and Motivation Answer for Screens
Build a compact spoken answer covering your intro, motivation for the role, a proud project, ideas to improve the business, and your availability.
Behavioralbehavioralself-introductionSTARmotivation - Data Structure DesignMediumAuto-gradedFuse Two Sensor Pipelines Into One Object History Log
Simulate a tracker that links IDs across two systems, stores observations, and returns time-ordered merged histories, testing union-find style grouping and operation replay.
Data Structure Designunion-finddesignhash-mapsorting - Statistics & ExperimentsMediumModel answerStatistical Strategy for Analyzing and Reducing Flight Delays
Formulate an end-to-end statistical strategy to diagnose flight delay causes, design models for dependent and skewed data, and measure causal operational interventions.
Statistics & Experimentsexperimental-designregressionhypothesis-testingcausal-inference - BehavioralHardModel answerWalking Through an LLM Feature You Shipped Responsibly
Describe a project where you built or shipped an ML or LLM component, covering evaluation, safety nets, failure handling, and where the model's authority ends.
Behavioralbehavioralllmevaluationguardrails