practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6094 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.
- 6094
- Problems
- 2258
- Auto-graded
- 15
- Topics
- 270
- Added today
Showing 2221–2250 of 6094 results
- 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 - Trees & GraphsMediumAuto-gradedShortest Grid Path to Nearest Fulfillment Hub
Find the minimum travel distance from every destination point to its closest source hub on a 2D grid using multi-source Breadth-First Search.
Trees & GraphsBFSMulti-Source BFSGrid TraversalShortest Path - 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 - Math & Bit ManipulationMediumAuto-gradedDetermine if Two Coin Stacks Can Be Equalized by Doubling
Determine if two initial quantities can reach equality through deterministic transfers that double the recipient stack.
Math & Bit Manipulationmath-bitsnumber-theorybit-manipulationsimulation - Dynamic ProgrammingMediumAuto-gradedMinimum Containers for Target Volume
Find the minimum combination of reusable containers to reach an exact target total volume, or return None if impossible.
Dynamic Programmingdynamic-programmingunbounded-knapsackbacktracking - 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 - StringsMediumAuto-gradedFind Minimum Substring with K Distinct Characters
Determine the length of the shortest contiguous substring that contains a target count of unique lowercase letters using a sliding window technique.
Stringssliding-windowstringstwo-pointershash-table - 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 - Data Structure DesignEasyAuto-gradedReplay Keyed Updates and Report Per-Group Peak Values
Simulate a log of keyed insert and query commands, keeping a running maximum for each key so single-key and all-key peak queries are answered without rescanning data.
Data Structure Designhash-mapsimulationrunning-maximumdesign - 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 - Dynamic ProgrammingHardAuto-gradedMaximum Non-Adjacent Node Value Sum in Binary Tree
Find the maximum total node sum from a binary tree represented as a level-order list such that no two selected nodes share a parent-child edge.
Dynamic Programmingtrees-graphsdynamic-programmingarrays - Trees & GraphsMediumAuto-gradedMinimum Steps Across a Square Maze with Diagonal Moves
Tests breadth-first search on a square binary grid with eight-directional moves, handling blocked endpoints, visited tracking, and counting cells along the shortest route.
Trees & Graphsbfsgridshortest-pathgraph-traversal - Machine LearningMediumModel answerKeeping a Capable AI System Faithful to Its Intended Purpose
Open-ended discussion on what alignment means, how to spot and reduce misalignment, how to handle misuse, and how to design one falsifiable research experiment.
Machine Learningai-alignmentai-safetyevaluationinterpretability - System DesignHardModel answerBuild a Multi-Channel Push and In-App Messaging Platform
Design a scalable messaging backend for a consumer mobile app that delivers push and in-app messages, honors user preferences, and stays reliable and legally compliant across regions.
System Designsystem-designnotificationskafkaidempotency - Greedy & IntervalsHardModel answerBird Physics Tick and Fee-Ratio Block Packing
Two coding tasks: a one-tick bird movement function with inclusive bounds, and a greedy block builder that scores transactions together with their unconfirmed ancestors.
Greedy & Intervalsgreedytopological-sortcycle-detectionsimulation - System DesignMediumModel answerDesign a Scalable Video Like-Count Engine for Viral Bursts
Architect a high-performance system to handle user video likes, user engagement tracking, and extreme traffic bursts on viral content.
System Designsystem-designdistributed-systemscachingdata-pipelines - Greedy & IntervalsMediumAuto-gradedSubscription Windows: Purchase Attribution and Anomaly Report
Merge each user's subscription intervals, then attribute purchases to the merged windows, count September active days, and report out-of-window and overlap anomalies.
Greedy & Intervalsintervalsmerge-intervalshash-mapdatetime - System DesignHardModel answerDesigning a Commit-to-Car Release Pipeline with Graph-Based Builds
Design the path from a monorepo push to software running on customer vehicles, then explain how the build system chooses and orders the targets to build and test.
System Designci-cdota-updatesmonorepobuild-systems - BehavioralEasyModel answerStructuring Behavioral Responses Using the Framework Approach
Learn how to craft high-impact answers for common screening questions on motivation, overcoming obstacles, and team collaboration using a structured format.
Behavioralbehavioralstar-frameworkinterview-prepcommunication - Machine LearningMediumModel answerWhy Boosting Works: Sequential Learners and Margins
Decide which statement best explains boosting for classification and justify it using sequential fitting, signed margins, surrogate losses, and the limits of margin guarantees.
Machine Learningboostingadaboostmarginensemble-methods - Heaps, Sorting & SearchHardAuto-gradedGift Card Waterfall, ZIP Surcharges and Refund Credits
Simulate a stream of purchase and refund events that drain gift cards by expiry priority, surcharge the card remainder by ZIP range, and turn excess refunds into store credit.
Heaps, Sorting & Searchsimulationheappriority-queuebinary-search - BehavioralMediumModel answerPitch Your Background for a Generative Speech and Multimodal Team
Deliver a concise spoken introduction that highlights your relevant projects, personal ownership, tech stack and quantified results, and ties them to a team on diffusion and speech/multimodal models.
Behavioralself-introductioncommunicationownershipdiffusion-models - Dynamic ProgrammingMediumModel answerLeft-to-Right Plus/Times Expression from a Subsequence
Decide whether a subsequence of positive integers, joined by + and * and evaluated strictly left to right, can equal a target, and produce one valid expression.
Dynamic Programmingdynamic-programmingbacktrackingpruningreverse-search