practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5974 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.
- 5974
- Problems
- 2212
- Auto-graded
- 15
- Topics
- 269
- Added today
Showing 5791–5820 of 5974 results
- Heaps, Sorting & SearchMediumModel answerMerge Sorted Runs by Absolute Value and Extract k-th Element
Reorder a sorted array by absolute value in linear time, then find the k-th element in that order using logarithmic-time search without materializing the full result.
Heaps, Sorting & Searchbinary-searchtwo-pointersorder-statisticsarray-manipulation - Dynamic ProgrammingMediumAuto-gradedMinimum Cost to Transform One String into Another
Tests string DP by computing the minimum total cost to convert a source string into a target string using per-character insert, delete, and replace operations with custom costs.
Dynamic Programmingdynamic programmingstringedit distance - Statistics & ExperimentsMediumModel answerTwo-Sided Platform Experiment Design
Design an A/B test for a pricing intervention in a ride-sharing platform, addressing network effects, spillover, and marketplace-specific metrics.
Statistics & Experimentsexperimentationtwo-sided-marketscausal-inferencemetric-design - Data Structure DesignHardModel answerArrays vs Hash Maps: Trade-offs for Sparse Active-Record Stores
Compare arrays and hash maps across time complexity, memory, and cache behavior, then choose the right structure for a sparse integer-keyed active set.
Data Structure Designhash-maparraymemorycache - Machine LearningEasyModel answerBuild a "You May Also Like" Item-to-Item Recommender
Design and evaluate a simple item-to-item collaborative filtering system for an e-commerce platform recommending related products on a product detail page.
Machine Learningmachine learningrecommendation systemscollaborative filteringevaluation - Data Structure DesignMediumModel answerConcurrent Cache with Deduplication and Safe Expiry
Implement thread-safe cache retrieval that deduplicates simultaneous requests for identical keys while maintaining parallelism across distinct keys.
Data Structure Designconcurrencycachingsynchronization - Linked ListsHardAuto-gradedInterleave Linked List Halves by Node Values
Tests pointer-manipulation intuition by reordering a linked list (given as an array) into a specific interleaved pattern derived from splitting and reversing halves.
Linked Listslinked listsarray manipulationtwo pointers - Data Structure DesignMediumModel answerFrontend State Management and Form Handling
Build a web interface that manages list state, handles form submission with proper error recovery, integrates with APIs, and maintains data consistency.
Data Structure Designfrontendstate-managementform-validationapi-integration - BehavioralMediumModel answerWalk Me Through How You Debug a Software Problem
Explain your end-to-end debugging process: reproducing issues, choosing tools, navigating code, and keeping your team informed during high-priority incidents.
Behavioraldebuggingtroubleshootingincident-responseobservability - Statistics & ExperimentsMediumModel answerDesigning and Testing Product Improvements for a Commuter Water Bottle
Develop ten distinct feature enhancements for a reusable water bottle targeting daily commuters, then design rigorous experiments to validate each improvement.
Statistics & Experimentsexperiment-designhypothesis-testingmetricsproduct-analytics - BehavioralMediumModel answerData Engineering Leadership: Project Impact and Incident Response
Demonstrate technical ownership, production debugging skills, stakeholder management, and alignment with mission-driven engineering through structured examples.
Behavioralleadershipdata-engineeringincident-response - Statistics & ExperimentsMediumModel answerMeasuring Trial-to-Paid Conversion Rate with Censored Data
Estimate conversion probability from free trial to paid subscription, handling incomplete observations and confounding factors.
Statistics & Experimentsconversion-metricscensored-datacohort-analysis - Machine LearningHardModel answerDistributed Matrix Multiplication Across Multiple GPUs
Design a system to compute matrix multiplication distributed across two GPUs, handling partitioning, communication, compute overlap, and aggregation.
Machine Learningdistributed-systemsgpu-computingparallel-algorithmsml-infrastructure - Math & Bit ManipulationMediumAuto-gradedCount Lattice Paths Through Required Checkpoints
Tests whether a candidate can combine combinatorics (binomial coefficients) to count grid paths that must pass through a sequence of ordered checkpoints.
Math & Bit Manipulationcombinatoricsmathdynamic programming - Data Structure DesignMediumAuto-gradedFlip Isolated O Regions to X Using Union-Find
Implement a union-find solution to identify and capture O regions that don't reach the board's edges, testing disjoint-set design and 2D-to-1D index mapping.
Data Structure Designunion-finddisjoint-setgridconnectivity - Statistics & ExperimentsHardModel answerDiagnosing and Testing Solutions for Food Temperature Issues
Design metrics, isolate root causes, and run an experiment to address customer complaints about meals arriving cold at delivery.
Statistics & Experimentsexperimentationmetricscausal-inference - Greedy & IntervalsMediumAuto-gradedConsolidate Half-Open Interval Ranges
Tests interval merging with half-open semantics, distinguishing overlap from adjacency, and handling nested ranges correctly.
Greedy & Intervalsintervalssortinggreedyarray-manipulation - Greedy & IntervalsHardAuto-gradedMinimum Guards to Cover All Museum Gallery Segments
Tests ability to apply a sweep-line with a greedy exchange argument to optimally place point guards that each cover a fixed-radius interval on a 1-D gallery.
Greedy & Intervalsgreedyintervalssweep line - BehavioralMediumModel answerAlign Your Experience with Core Financial Services Values
Describe two real situations showing client-first thinking with collaboration, and risk discipline with integrity, including trade-offs and measurable results.
Behavioralbehavioralleadershipvalues-fit - Machine LearningMediumModel answerImplementing Optimization via Gradient Descent for Regression
Derive and implement batch gradient descent to minimize squared error for linear models, covering convergence criteria, step size selection, and regularization.
Machine Learningoptimizationgradient-descentlinear-regressionregularization - Statistics & ExperimentsHardModel answerDecision Framework for Training Program Investment
Design a quantitative framework to choose between vendor and in-house training options using causal measurement, financial modeling, and risk analysis.
Statistics & Experimentscausal-inferenceexperimentationfinancial-modelingdecision-analysis - Dynamic ProgrammingMediumAuto-gradedMinimum Tokens to Reach a Score: Reusable vs. One-Time Use
Tests whether a candidate can implement both unbounded and 0/1 knapsack DP to find the smallest number of tokens that sum exactly to a target.
Dynamic Programmingdynamic-programmingknapsackbottom-up-dp - Stacks & QueuesMediumAuto-gradedMinimum Length Subarray with Sum Threshold
Tests the ability to optimize subarray sum queries using prefix sums and monotonic deque when values can be negative.
Stacks & Queuesprefix-sumsmonotonic-dequesliding-windowarray - BehavioralMediumModel answerValidating organizational values through policy and measurement
Translate culture statements into operational definitions, design diagnostic questions, and propose measurable indicators to test alignment.
Behavioralleadershipculturemetricsstakeholder-management - System DesignHardModel answerTime-Series Telemetry Service with Proximity Search
Build a scalable backend that ingests out-of-order device telemetry and supports efficient queries for the status record nearest to any given timestamp.
System Designtime-seriesdatabase-designdistributed-systems - Data Structure DesignMediumAuto-gradedAggregate Scores Across a Sponsorship Tree
Tests tree traversal and subtree aggregation by computing cumulative scores bottom-up across a forest of sponsor-recruit relationships.
Data Structure Designtrees-graphsdesign-dsstacks-queues - BehavioralMediumModel answerAI Coding Assistants: Benefits, Risks, and When to Trust the Output
Evaluate how AI coding tools are reshaping software development, where they fall short, and what verification and team practices engineers should apply.
Behavioralai-toolscode-reviewengineering-practices - Greedy & IntervalsMediumAuto-gradedAssign Tasks to Time Slots with Minimum Idle Penalty
Tests the exchange-argument greedy technique by scheduling deadline-bearing tasks into time slots to minimize total weighted idle (missed-deadline) penalty.
Greedy & Intervalsgreedyintervalsschedulingexchange argument - Machine LearningMediumModel answerBias-Variance Decomposition: Concepts, Math, and Model Choices
Derive the bias-variance-noise decomposition of MSE, and explain how polynomial degree, dataset size, and L2 regularization shift each term.
Machine Learningbias-variance tradeoffregularizationoverfitting - Machine LearningEasyModel answerBuild a Content-Based Movie Recommender from Scratch
Design and evaluate a simple content-based filtering system that recommends movies to a new user who has rated only a handful of films.
Machine Learningmachine learningrecommendation systemscontent-based filteringfeature engineering