practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6074 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.
- 6074
- Problems
- 2252
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 1771–1800 of 6074 results
- System DesignHardModel answerDesign an Enterprise Knowledge Base RAG Platform
Architect an end-to-end Retrieval-Augmented Generation system handling millions of internal documents, low latency, real-time updates, and strict document-level security.
System Designragvector-searchsystem-designmachine-learning - BehavioralMediumModel answerMastering Behavioral and Leadership Scenarios in Engineering Interviews
A comprehensive guide to structured response frameworks for technical behavioral interviews, focusing on ownership, collaboration, prioritization, and technical trade-offs.
Behavioralleadershipbehavioralprioritizationconflict-resolution - Linked ListsMediumAuto-gradedDuplicate Linked List with Arbitrary Pointers
Demonstrate deep copying of a sequential structural chain featuring auxiliary target links via node-level or serialized array transformations.
Linked Listslinked-listsarraysdeep-copy - Data Structure DesignHardAuto-gradedLeftmost-Fit Block Reservation with Owner Release
Simulate a storage pool that reserves the leftmost run of contiguous free cells per request and releases everything an owner holds, using efficient free-run tracking.
Data Structure Designsegment-treesimulationinterval-merginghash-map - BehavioralMediumModel answerTurning a Fuzzy Analytics Question into a Decision-Ready Study
Describe a research project you led that began with an unclear goal, covering scoping, data checks, analysis, stakeholder updates, and a recommendation that states where it may fail.
Behavioralbehavioralambiguitystakeholder-managementdata-validation - System DesignMediumModel answerFermi Estimate: Daily Video Egress for a Global Streaming Site
Estimate how many exabytes a worldwide video platform delivers to viewers each day, using viewers, watch time, bitrate and overhead, then validate the result with independent checks.
System Designfermi-estimationcapacity-planningback-of-envelopebandwidth - Machine LearningMediumModel answerNext-Month Purchase Model: Leak-Free Pipeline and AUC Evaluation
Build a reproducible stratified-split pipeline with a gradient-boosted classifier for repeat-purchase prediction, report held-out AUC, and propose two ways to improve generalization.
Machine Learninggradient-boostingscikit-learncross-validationauc - Greedy & IntervalsMediumAuto-gradedMinimum Resources Required for Scheduled Jobs
Determine the minimum number of resources required to run a schedule of tasks given start and end times with boundary reuse allowed.
Greedy & Intervalsgreedy-intervalsheaps-sortingarrays - Data Structure DesignMediumAuto-gradedTally Unique Words Using Your Own Open-Addressing Table
Count unique strings in a list by building a custom hash table with probing, without using built-in sets, dictionaries, or similar lookup containers.
Data Structure Designhash-tableopen-addressingstringshashing - Math & Bit ManipulationEasyAuto-gradedGaussian Fit Summary: Mean and Two Variance Estimates
Compute the sample mean, the divide-by-n variance, and the divide-by-(n-1) variance from a list of numbers, tying MLE for a normal model to Bessel's correction.
Math & Bit Manipulationstatisticsmatharraysfloating-point - Math & Bit ManipulationMediumAuto-gradedSimulate IPv4 CIDR Block Iterator
Parse IPv4 CIDR blocks and simulate step-by-step traversal over all IP addresses in the subnet range.
Math & Bit Manipulationbit-manipulationstringsdesignmath - Dynamic ProgrammingMediumAuto-gradedFull-String Matching With Single and Multi Character Wildcards
Decide whether a pattern containing '?' and '*' wildcards matches an entire string, testing dynamic programming or greedy two-pointer matching with backtracking.
Dynamic Programmingstringswildcard-matchingdynamic-programminggreedy - SQL & DataMediumModel answerDesign an Idempotent Incremental Data Pipeline for Big Data Tables
Explain how to build a robust, idempotent daily incremental ingestion workflow that handles duplicates, backfills, and schema validation on large relational tables.
SQL & Datadata-engineeringsqletldata-pipelines - System DesignHardModel answerBuild a Multi-Team GPU Cluster Platform for Distributed Training
Design a shared platform where several teams run distributed GPU training jobs, with all-or-nothing placement, fair quotas, fast failure recovery and a storage layer that avoids I/O stalls.
System Designml-infrastructuregang-schedulingfault-tolerancecheckpointing - Stacks & QueuesHardAuto-gradedDetermine Pass Times for Single-Lane Security Gate
Simulate the scheduling of access requests through a shared resource using state tracking and queues under conflict-resolution rules.
Stacks & Queuesstacks-queuessimulationarrays - Dynamic ProgrammingHardAuto-gradedMinimal Coin Exchange with Overpayment
Find the minimum combined count of paid and received coins to settle a precise target value using dynamic programming.
Dynamic Programmingdynamic-programmingarrays - Statistics & ExperimentsMediumModel answerOptimizing and Testing the Candidate Team-Matching Pipeline
Define funnel conversion metrics, establish monitoring targets, and design an A/B test with power calculation and decision rules to improve candidate-to-team matching.
Statistics & Experimentsfunnel analyticsexperiment designsample size calculationab testing - BehavioralMediumModel answerDeep Dive: Highlighting Your Most Impactful Work and Key Lessons
Structure a compelling narrative detailing your most significant engineering achievement, highlighting personal ownership, technical depth, key learnings, and strategic retrospective changes.
Behavioralbehavioralproject-deep-diveleadershipcommunication - Data Structure DesignMediumModel answerDesign a Phone-Style Calculator in the Browser
Build a four-function calculator UI with immediate-execution semantics, tricky key sequences handled correctly, and a layout close to a familiar mobile calculator.
Data Structure Designstate-machinefrontendjavascriptedge-cases - Data Structure DesignMediumAuto-gradedSliding Window Score Monitor for Support Chats
Process a stream of score updates and queries, returning the rolling average and maximum over the latest score of each chat inside a half-open time window.
Data Structure Designsliding-windowhash-mapqueuelazy-deletion - Trees & GraphsEasyAuto-gradedNavigate Web Server Maze to Target Node
Evaluates breadth-first graph search and set tracking to traverse a network of web pages and find an exit target.
Trees & Graphstrees-graphsbreadth-first-searchhash-map - Statistics & ExperimentsEasyModel answerDesigning Evaluation Framework for Checkout Donation Feature
Design a metrics hierarchy, user-level experiment plan, and launch decision framework for an optional checkout donation feature on a food-delivery platform.
Statistics & ExperimentsExperiment DesignA/B TestingMetricsMarketplace - StringsMediumModel answerFilter Words Reachable From a Target by One Character Swap
Given a target string and a list of words, return every word that becomes the target after swapping at most one pair of characters in that word, keeping input order.
Stringsstringstwo-pointerscharacter-frequencybuddy-strings - System DesignMediumModel answerReact Component That Fetches a List Safely When Its Endpoint Changes
Build a React component that fetches a list from a prop-supplied URL inside useEffect, with correct loading, empty, error and success states and no stale-response bugs.
System DesignreactuseEffectrace-conditionsabortcontroller - SQL & DataMediumModel answerCalculating Monthly Theme Engagement and Revenue Trends in SQL
Define usage growth metrics and write SQL to analyze monthly active users, new user acquisition, and discrete monthly revenue for custom app themes.
SQL & Datasqltime-seriesaggregationwindow-functions - Arrays & HashingMediumAuto-gradedPeel a Grid Layer by Layer in a Clockwise Spiral
Flatten a rectangular grid into a list by walking its perimeter clockwise inward, using shrinking boundaries and guards so single leftover rows or columns are not read twice.
Arrays & Hashingmatrixsimulationtwo-pointersspiral - System DesignHardModel answerBackend Design for a City-Scale Taxi Dispatch Service
Design the backend for a multi-city on-demand taxi app: dispatch, live driver tracking, dynamic pricing, durable payments and trip records, and resilience at millions of daily users.
System Designsystem-designgeospatial-indexingreal-time-streamingdistributed-systems - Data Structure DesignEasyModel answerLog a Button's Label on Click with the DOM Event API
Wire up a click handler on a page button that logs its label to the console, and explain what the event object's target property refers to, including nested-element cases.
Data Structure Designjavascriptdomevent-handlingfrontend-fundamentals - Arrays & HashingMediumAuto-gradedCohort Return Rates by Months Since First Visit
Group users by the month of their first activity, then compute the fraction of each cohort that was active in every later month offset, using calendar-month arithmetic.
Arrays & Hashinghash-mapgroupingdatescohort-analysis - BehavioralHardModel answerPitching an AI Work Assistant Across Search, Mail, Docs and Calendar
Make the product case for an AI assistant embedded in search, email, documents and calendar: user value now, a 15-year trajectory, an executive pitch, metrics and risks.
Behavioralproduct-strategyproduct-senseai-assistantvision