practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6025 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.
- 6025
- Problems
- 2231
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 961–990 of 3794 results
- Statistics & ExperimentsMediumModel answerEvaluating an Automated Bid Optimizer in an Ad Marketplace
Design an evaluation plan for an ML-driven auto-bidding tool: choose metrics, set up a randomized experiment, and handle marketplace interference and selection bias.
Statistics & Experimentsexperiment-designcausal-inferencemarketplace-interferencemetrics - Statistics & ExperimentsMediumModel answerSpotting Automated Accounts from a Comment Event Log
Design behavioral features from a comment log to flag automated accounts, choose a classification cutoff without clean labels, and check that heavy human users are not unfairly caught.
Statistics & Experimentsanomaly-detectionfeature-engineeringthreshold-selectionfairness-validation - System DesignMediumModel answerLoad Instruction Walkthrough: TLB Miss, Page Walk, L1 Cache Hit
Decode a 48-bit virtual address under 4-level paging, trace a load through a TLB miss and page walk to an L1 hit, and say where read permission is checked.
System Designvirtual-memorytlbpage-tablecpu-cache - Data Structure DesignMediumModel answerBuild a Bucketed Spatial Index for Planar Points
Implement a region quadtree that stores 2D points in capacity-limited buckets, splits into four quadrants on overflow, and answers rectangular range queries efficiently.
Data Structure Designquadtreespatial-indexrecursionrange-query - Statistics & ExperimentsHardModel answerShould a Burger Chain Add a Plant-Based Patty? Decide and Test
Decide whether a burger chain should add a plant-based sandwich after a rival's hit, then design a store-level experiment and a pre-committed launch rule.
Statistics & Experimentsexperiment-designdifference-in-differencescannibalizationpower-analysis - System DesignMediumModel answerDesign an Ultra-Low Latency Distributed Link Shortening Platform
Architect a scalable, high-availability URL shortener capable of handling heavy read workloads, instant redirects, custom aliases, and automated TTL cleanup.
System Designsystem-designdistributed-systemscachingdatabase-design - System DesignMediumModel answerRerun-Safe Monthly Churn Pipeline with Late Events
Design a daily pipeline that turns streaming subscription events into month-end churn and retention metrics, tolerating late data, safe reruns, 12-month backfills, and changing metric definitions.
System Designetlidempotencyscd-type-2late-arriving-data - System DesignMediumModel answerCore CS Fundamentals: Object Polymorphism, Search Trees, and AI Tooling
Demonstrate core computer science concepts by explaining object-oriented polymorphism, binary search tree mechanics with complexities, and responsible workflows for AI-assisted software engineering.
System Designobject-oriented-programmingbinary-treesai-toolscs-fundamentals - BehavioralMediumModel answerEnd-to-End Analytical Workflow and Data Tooling
Learn how to present a structured, end-to-end data analysis and visualization narrative that balances technical execution, validation rigor, and business impact.
Behavioraldata-analysispythonsqlvisualization - Statistics & ExperimentsMediumModel answerTesting a New Ad Ranker in a Budget-Limited Marketplace
Design an experiment for a new ad-ranking model in a two-sided marketplace, covering randomization, mixed CTR/CVR results, shared advertiser budgets, and guardrail metrics.
Statistics & Experimentsab-testingmarketplace-experimentsinterferenceads - SQL & DataHardModel answerMeasuring a Premium Plan Launch and Building Fraud Alert Rules
Define launch success for a new paid tier using only transaction and activity tables, then design a rule-based SQL alerting system for suspicious payments.
SQL & Dataproduct-analyticscohort-retentionsql-window-functionsfraud-rules - Data Structure DesignMediumModel answerBuild a Bounded Permit Task Execution Engine
Implement a concurrency manager that controls variable permit usage per task, supports blocking and asynchronous execution, and guarantees safe permit releases.
Data Structure Designconcurrencysynchronizationdesign-dsthreading - Machine LearningMediumModel answerWhy Identical Starting Weights Stall Neural Network Training
Analyze what happens when a feed-forward network starts with every weight and bias at zero, how symmetry persists, and why random scaled initialization resolves it.
Machine Learningweight-initializationbackpropagationsymmetry-breakingxavier-he - Trees & GraphsMediumModel answerFeature Flag Rollout Validator with Dependency Cycle Detection
Parse feature dependency specs, run modular checksum verification, and evaluate user eligibility and feature graph dependencies while handling cyclic rollouts.
Trees & Graphstrees-graphsstringsdepth-first-search - Machine LearningMediumModel answerBuilding a Grounded Document Q&A System with Retrieval
Design a question-answering system that retrieves evidence from a versioned, access-controlled document set, cites sources, abstains when unsupported, and measures retrieval and answer quality separately.
Machine Learningragretrievalevaluationchunking - Data Structure DesignMediumModel answerBuild a Biased Index Picker Using Cumulative Totals
Design a class that returns an index at random with probability proportional to its weight, then explain how to make each draw fast and how to handle updates.
Data Structure Designprefix-sumbinary-searchrandom-samplingfenwick-tree - BehavioralMediumModel answerBehavioral Interview: Ownership, Constructive Feedback, and Cross-Domain Impact
Craft compelling STAR-format responses for three core engineering leadership prompts: owning a project end-to-end, integrating critical feedback, and identifying issues outside your domain.
Behavioralbehavioralleadershipownershipcollaboration - BehavioralEasyModel answerData Engineer Screen: Schemas, Integrity, Pipeline Failures
Answer five data-engineering screening prompts: intro, grad-school skills, source-to-target schema mismatches, end-to-end data integrity, and a STAR story about a pipeline failure.
Behavioraletldata-engineeringschema-evolutiondata-quality - Machine LearningHardModel answerDesign a Production RAG Engine with Citations and Strict Access Control
Design, optimize, and systematically evaluate an enterprise RAG system that processes heterogeneous documents, handles ACLs, and guarantees zero stale citations under high query throughput.
Machine LearningRAGSystem DesignVector SearchLLM Evaluation - Statistics & ExperimentsHardModel answerVetting Co-Brand Card Deals with a Travel Marketplace and a Warehouse Club
Decide whether a card issuer should sign co-brand deals with a home-rental marketplace and a warehouse retailer: define value, rank drivers, design a test, and set go/no-go rules.
Statistics & Experimentsexperiment-designcustomer-lifetime-valueunit-economicsadverse-selection - StringsMediumModel answerJava Code Review: Refactoring a CSV Generator
Analyze a poorly designed Java method for generating CSV strings and detail performance, RFC 4180 compliance, memory usage, and security enhancements.
Stringscode-reviewjavastringscsv - Trees & GraphsHardModel answerTopological Task Scheduler and Strict Expression Parser
Solve a task dependency ordering problem via topological sort and build an expression evaluator supporting custom operator precedence, unary signs, and overflow checks.
Trees & Graphstopological-sortgraph-algorithmsexpression-parserstacks - System DesignMediumModel answerBuild a Social App for Sharing Pictures and Short Clips
Design a social platform where people post photos and short videos, follow each other, and browse a personalized home feed, with attention to media delivery, feed fan-out and trade-offs.
System Designsystem-designfeed-generationcdnfan-out - Data Structure DesignMediumModel answerTrailing-Day Campaign CTR over Two Skewed Event Feeds
Build a generator that emits per-campaign impression, click and CTR figures over a trailing 24-hour window, counting one click per impression and accepting events up to 10 minutes late.
Data Structure Designstreamingsliding-windowheaphash-map - System DesignMediumModel answerDesign an Automated Order Exception & Dispute Resolution Service
Design and implement a microservice that handles customer order disputes, applies explicit refund business rules, and prevents duplicate processing.
System DesignAPI DesignData ModelingBusiness LogicState Management - BehavioralMediumModel answerDemonstrating Depth of Analysis and Focus Under Uncertainty
Share a complex issue that demanded rigorous investigation, explaining how you prioritized key factors, validated your focus, and delivered a measurable outcome.
Behavioralbehavioralproblem-solvinganalyticstechnical-leadership - Data Structure DesignMediumModel answerProportional Random Index Picker with Fast Repeated Queries
Design a class that returns a random index with probability proportional to its weight, optimized for many repeated draws after one-time setup.
Data Structure Designprefix-sumsbinary-searchrandom-samplingfenwick-tree - System DesignHardModel answerArchitecting a Real-Time Exchange Web Client
Plan the browser-side architecture of a live crypto-style exchange screen, covering rendering, state, streaming data, order safety, security, and observability.
System Designfrontend-architecturewebsocketstate-managementreact - System DesignHardModel answerBuild a Scalable Storefront for Selling Books Online
Design a book-selling web platform covering catalog search, cart, checkout and orders, with emphasis on inventory correctness, idempotent payments, caching, and fault tolerance.
System Designsystem-designe-commerceinventoryidempotency - BehavioralMediumModel answerUsing Generative AI Tools Safely and Effectively in Engineering
Demonstrate how to adopt LLM tools into software workflows with appropriate human oversight, data privacy guardrails, rigorous verification, and clear performance metrics.
Behavioralbehavioralgenerative-aideveloper-velocitycode-quality