practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6008 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.
- 6008
- Problems
- 2226
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 5281–5310 of 6008 results
- BehavioralMediumModel answerData Error Recovery and Process Automation in Analytics
Demonstrate ownership after discovering a data quality issue, plus a concrete example of reducing repetitive work through automation or self-service tooling.
Behavioralleadershipdata-qualityprocess-improvement - Data Structure DesignHardAuto-gradedTime-Versioned Key-Value Storage
Implement a data structure that stores versioned values by timestamp and retrieves the most recent version at or before a query time.
Data Structure Designbinary-searchhash-mapdata-structures - System DesignMediumModel answerFull-Stack Comment CRUD and Async Image Pipeline
Build a comment system with sort persistence and an image-generation service that handles long-running GPU jobs with reliable ordering and status delivery.
System Designcrudasync-jobspaginationpersistence - Data Structure DesignMediumAuto-gradedProcess Account Transaction Sequence
Tests ability to implement stateful operations on indexed data with validation, edge-case handling, and multiple operation types.
Data Structure Designsimulationvalidationstate-management - BehavioralMediumModel answerManaging QA Work When Deadlines Compress Testing Time
Explain how you prioritize and execute testing activities when time constraints threaten coverage, using a specific example with measurable outcomes.
Behavioralqa-engineeringprioritizationrisk-managementcommunication - System DesignMediumModel answerBuild a Multi-Step Job Execution Engine with Dependency Management
Design a system that executes jobs composed of dependent tasks, managing state, handling failures, and coordinating parallel work across distributed workers.
System Designdistributed-systemsorchestrationstate-machinesreliability - Statistics & ExperimentsMediumModel answerMeasuring Push Notification Value and Testing a New Feature Alert
Design metrics and experiments to assess whether notifications help or hurt users, then decide whether to ship a friend-activity alert.
Statistics & ExperimentsA/B testingproduct metricsexperimentationcausal inference - Trees & GraphsMediumModel answerWeighted Grid Navigation: Minimum Cost Path Around Walls
Find the cheapest path through a cost-weighted grid containing impassable walls, returning the total cost and route, or -1 if no path exists.
Trees & Graphsdijkstrapriority-queueshortest-pathgrid - SQL & DataMediumAuto-gradedHighest Revenue Product per Category with Returns
Tests data aggregation, join logic, net-revenue calculation accounting for returns, and ranking with tie-breaking.
SQL & Dataaggregationjoinsrankingwindow-functions - Data Structure DesignHardModel answerDesign a Thread-Safe Resource Pool with RAII Handles
Build a concurrent object pool in C++ that safely manages reusable resources with blocking acquisition, automatic return via RAII, and graceful shutdown.
Data Structure Designconcurrencyc++raiithread-safety - Math & Bit ManipulationMediumAuto-gradedBalanced Digit Sum Across All Bases
Tests understanding of base conversion by summing digits of a number across every base from 2 to b and checking whether each base yields a digit sum equal to a target value.
Math & Bit Manipulationmathbit manipulationbase conversion - Data Structure DesignMediumAuto-gradedCompute Dot Products for Memory-Efficient Integer Vectors
Tests efficient sparse data representation using hash maps and optimizing operations by focusing on non-zero elements only.
Data Structure Designhash-mapsparse-dataoptimization - StringsEasyAuto-gradedCount Distinct Words in a Sentence
Tests the ability to tokenize a raw sentence string into normalized word tokens and count how many distinct words appear exactly once.
Stringsstringstokenizingparsing - Heaps, Sorting & SearchMediumAuto-gradedMinimize the Maximum Delivery Time Across Routes
Tests binary search on the answer combined with greedy feasibility checking to minimize the maximum delivery time when assigning parcels to couriers.
Heaps, Sorting & Searchbinary searchgreedysorting - Machine LearningMediumModel answerArchitecture and Ensemble Trade-offs for Text Classifiers
Compare sequential and attention-based architectures for long-text classification, then explain variance vs bias reduction in ensemble methods.
Machine Learningdeep-learningnlpensemblesmodel-selection - StringsEasyAuto-gradedCount Distinct Morse Code Representations
Tests string encoding with a fixed mapping, hashing for deduplication, and understanding that identical encodings can arise from different inputs.
Stringshash-setstring-manipulationencoding - Greedy & IntervalsMediumAuto-gradedMaximum Concurrent Reservations
Calculate the peak number of overlapping time intervals to determine minimum resource capacity.
Greedy & Intervalsintervalssweep-linesorting - Trees & GraphsMediumAuto-gradedLowest Shared Ancestor in Organization Hierarchy
Finding the deepest node that lies on the upward path to the root for all given employees in a tree structure.
Trees & Graphstreelowest-common-ancestordepth-first-searchbreadth-first-search - Machine LearningEasyModel answerChoose between fine-tuning and RAG for a knowledge update
Decide whether to fine-tune an LLM or add a RAG pipeline when a product's underlying knowledge base changes frequently.
Machine Learningmachine learningLLMfine-tuningRAG - BehavioralMediumModel answerProject Deep Dive: Ownership, Challenges, and Reflection
Demonstrate clear communication, technical ownership, and self-reflection by walking through a meaningful project in a structured conversation.
Behavioralcommunicationownershipreflectionproblem-solving - Data Structure DesignMediumModel answerCall Channel State Manager
Build a stateful manager that allows exactly one active two-party call at a time, with proper validation and error handling.
Data Structure Designstate-machineobject-oriented-designvalidationexceptions - Data Structure DesignHardAuto-gradedSimulate a TTL-Aware LFU Cache with Frequency Snapshots
Tests ability to simulate a multi-operation Least-Frequently-Used cache that evicts expired entries by TTL and breaks ties by recency, while supporting frequency-snapshot queries.
Data Structure Designdata structurescachesimulation - BehavioralEasyModel answerStructuring Answers for Data Science Behavioral Interviews
Prepare structured responses to four behavioral scenarios: personal pitch and motivation, problem discovery and resolution, deadline communication, and team inclusion.
Behavioralbehavioralcommunicationleadershipdata-science - Arrays & HashingHardAuto-gradedCoin Flip Race: HHT vs HTH Probability and Conditional Wait
Tests whether you can set up a Markov chain for a pattern race, derive absorption probabilities, and compute a conditional expected stopping time.
Arrays & Hashingmarkov-chainsprobabilityexpected-value - Linked ListsMediumAuto-gradedInterleave Two Linked Lists from Their Midpoints
Tests pointer-manipulation reasoning by reordering a singly linked list (given as an array) so nodes alternate between the first and second halves, starting from their respective midpoints.
Linked Listslinked liststwo pointersarray manipulation - Arrays & HashingMediumAuto-gradedMultiply Two Matrices
Tests understanding of matrix multiplication mechanics, nested iteration, and accumulation patterns.
Arrays & Hashingmatrixnested-loopsmath - Heaps, Sorting & SearchMediumAuto-gradedMinimum Bandwidth to Stream All Files Within Deadline
Tests binary search on the answer to find the minimum integer bandwidth that allows streaming a list of files (each with a size and deadline) without missing any deadline using a greedy scheduler.
Heaps, Sorting & Searchbinary searchgreedysorting - BehavioralMediumModel answerC++ Containers and Polymorphism Mechanisms
Contrast contiguous versus node-based containers and explain static versus dynamic polymorphism in C++.
Behavioralc++data-structuresobject-oriented-designperformance - Data Structure DesignMediumModel answerBuild a Fee Calculator with Comprehensive Test Coverage
Write a service class that computes fees based on business rules, then extend it and write unit tests covering normal cases, boundaries, and errors.
Data Structure Designtestingvalidationobject-oriented-design - Statistics & ExperimentsHardModel answerOutdoor Ad Frequency and Attribution Modeling
Model weekly reach and impressions for a roadside billboard using Poisson exposure distributions and panel-based deduplication, then attribute conversions via transition probabilities.
Statistics & Experimentsprobabilityestimationattributionuncertainty