practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6020 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.
- 6020
- Problems
- 2229
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 5071–5100 of 6020 results
- System DesignMediumModel answerBootstrap a Reproducible Python Environment for an LLM Project
Walk through pinning a Python interpreter, isolating dependencies with a lockfile, securing API credentials, and verifying the setup with a live smoke test.
System Designpythondev-environmentllmdependency-management - Data Structure DesignMediumAuto-gradedCircular Buffer with Fixed Capacity
Tests implementation of a bounded FIFO queue using circular array indexing with constant-time operations.
Data Structure Designqueuecircular-bufferarraydata-structure-design - Data Structure DesignEasyAuto-gradedExecute Turn-Based Movement Commands on a Line
Tests state tracking and rule validation for alternating player moves on a bounded one-dimensional board.
Data Structure Designsimulationstate-machinevalidation - Machine LearningMediumModel answerHandle Class Imbalance in Fraud Detection
Design and evaluate an ML pipeline for detecting rare fraudulent transactions, navigating class imbalance at every stage from data to deployment.
Machine Learningmachine learningclass imbalancefraud detectionevaluation metrics - BehavioralHardModel answerResource Management and Frontend Performance Engineering
Explain Python's resource cleanup patterns, React's rendering model and optimization strategies, and how to debug slow frontend performance in production.
Behavioralpythonreactperformancedebugging - System DesignMediumModel answerBuild a Distributed API Rate Limiter with Per-User Quotas
Design a low-latency distributed rate limiter that enforces different token budgets for different users across a fleet of stateless API gateway nodes.
System Designrate-limitingdistributed-systemscachingredis - Data Structure DesignMediumModel answerFirewall Rule Engine with Prefix Matching
Build a rule-based IP filter supporting CIDR blocks, priority resolution, and efficient queries for single IPs and prefix ranges.
Data Structure Designtrienetworkingbit-manipulation - System DesignMediumModel answerHarden a Two-Step Charge-and-Record Payment Flow
Diagnose every failure mode in a naive charge-then-write endpoint, then redesign it to survive crashes, timeouts, retries, and concurrent duplicates.
System Designidempotencydistributed-systemspaymentsfault-tolerance - Trees & GraphsMediumAuto-gradedNetwork Unification Timestamp
Tests Union-Find data structure application to track dynamic graph connectivity and determine when all nodes merge into one component.
Trees & Graphsunion-finddisjoint-setgraph-connectivity - System DesignHardModel answerBuild a Request Batching System for LLM Serving
Design an inference service that groups incoming LLM requests into batches, assuming 100ms processing per batch, with attention to queueing, routing, and failure modes.
System Designbatchinginferencelatencythroughput - System DesignMediumModel answerBuilding a High-Throughput Distributed Rate Limiter
Design a multi-region rate limiting system that handles millions of requests per second with low latency while managing hot keys and partition failures.
System Designdistributed-systemsrate-limitingcachingscalability - System DesignHardModel answerDesign a Prompt Editor with Versioning and Collaboration
Build a web app for writing, executing, and versioning LLM prompts with efficient storage for large documents and incremental edits.
System Designdatabase-schemaversioningobject-storagecollaboration - Statistics & ExperimentsMediumModel answerDiagnosing a Spike in Harassment Policy Violations
A monthly moderation report shows harassment violations rising sharply — determine whether the surge is real or a measurement artifact, then design and evaluate a mitigation.
Statistics & Experimentscontent-moderationcausal-inferenceexperiment-designclassifier-evaluation - Statistics & ExperimentsMediumModel answerOnline experiment plan for a new ad ranking model
Design an A/B test to evaluate whether a new ad recommendation model should replace the production system, covering experimental setup, metrics, and launch criteria.
Statistics & Experimentsab-testingexperimentationcausal-inferenceads - Machine LearningHardModel answerPredict Property Sale Prices from Multi-Year Transaction Records
Design an end-to-end supervised ML pipeline to estimate residential sale prices from historical transaction data, including market shocks and missing values.
Machine Learningregressionfeature-engineeringtime-series-validationdrift-detection - BehavioralMediumModel answerBuilding Your PM Internship Behavioral Narrative
Structure a coherent story for PM internship interviews covering your background, motivation, project work, and collaboration style.
Behavioralproduct-managementbehavioralcareer-transitionstorytelling - Arrays & HashingMediumAuto-gradedBinary Classifier Threshold & Cost Trade-off Calculator
Tests whether candidates can compute F1, confusion matrix counts, and deployment cost for two classifier configurations, then select the cheaper model to deploy.
Arrays & Hashingmachine-learningclassificationevaluation-metrics - System DesignMediumModel answerDesign a High-Throughput Telemetry Collection Platform
Build a system to aggregate and store operational telemetry from a large distributed fleet, supporting real-time writes and historical analytics.
System Designtime-seriesdistributed-systemsstreamingstorage - Trees & GraphsHardAuto-gradedMinimum Steps to Collect All Keys in a Grid Maze
Tests BFS shortest path on a grid where state must encode both position and the set of collected keys, requiring multi-dimensional state space exploration.
Trees & Graphsgraphsbfsgridbitmask - BehavioralMediumModel answerConnecting Career Choices to a Customer-Facing Engineering Role
Articulate your career trajectory and explain why you're pursuing a customer engineer position at a smaller organization.
Behavioralcareer-developmentinterviewingself-reflection - Machine LearningMediumModel answerNER for E-Commerce Text: Design, Models, and Evaluation
Design a named entity recognition system for short e-commerce text, covering task framing, model families, data pipeline, and the right metrics.
Machine LearningNERsequence labelingtransformerse-commerce ML - BehavioralMediumModel answerDrive a Cross-Team Performance Fix When Root Cause Is Disputed
Describe how you diagnosed a multi-service latency problem, navigated technical disagreement with a partner team, and confirmed the fix worked end-to-end.
Behavioralcollaborationperformancedistributed-systemsinfluence - Math & Bit ManipulationMediumModel answerInfer Numeric Pattern and Identify Corrupted Element
Determine which mathematical pattern a sequence follows, detect if one value is wrong, and predict the next term.
Math & Bit Manipulationsequencespattern-recognitionedge-cases - BehavioralMediumModel answerVirtual Machines and Concurrency Fundamentals
Explain VM architecture, hypervisor types, resource virtualization trade-offs, and concurrency primitives including threads, locks, and debugging approaches.
Behavioralvirtualizationconcurrencyoperating-systems - System DesignMediumModel answerReal-time A/B test monitor with late arrival tolerance
Build a stream processor that detects traffic imbalances across experiment variants in real time, handling duplicate events and delayed data.
System Designstreamingexperimentationstatisticsstate-management - BehavioralMediumModel answerWalk Me Through a Project Where Data Was the Hard Part
Describe a complex data project end-to-end: your role, the dataset, the technical decisions you made, and the measurable outcomes you delivered.
Behavioralbehavioraldata engineeringownershiptrade-offs - System DesignMediumModel answerSync Data from a Rate-Limited External API (3 req/s)
Design a distributed service that ingests and keeps data fresh from a third-party API capped at exactly 3 requests per second.
System Designrate-limitingdistributed-systemsdata-pipelinebackoff - Statistics & ExperimentsHardModel answerGeo Rollout Analysis: DiD, Segmented Regression & Power
Design a full causal analysis for a two-state feature launch — compute DiD estimates, build a segmented time-series model, set guardrails, and size the experiment.
Statistics & Experimentsdifference-in-differencescausal-inferenceexperimentationgeo-experiment - Math & Bit ManipulationMediumAuto-gradedParse Mixed-Endian Binary Protocol Fields
Tests byte-level manipulation to extract little-endian and big-endian integers from a raw byte buffer without relying on architecture-specific memory layout.
Math & Bit Manipulationbit-manipulationbytesendianness - BehavioralMediumModel answerDemonstrating Impact in Analytics Roles with Strategic Trade-offs
Articulate concrete examples of decisions you drove, business metrics you influenced, and how your skill set matches a strategy-focused position.
Behavioralbehavioralcareer-narrativestakeholder-management