practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5972 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.
- 5972
- Problems
- 2212
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 3631–3660 of 3760 results
- Statistics & ExperimentsMediumModel answerCovariate Adjustment for Variance Reduction in A/B Tests
Apply regression-based variance reduction when a pre-experiment metric correlates with your outcome, and explain the conditions under which this technique remains valid.
Statistics & Experimentsexperimentationvariance-reductionregression-adjustmentstatistical-power - BehavioralHardModel answerManaging Conflict with Senior Stakeholders
Describe navigating a tense interaction with a senior leader, extracting requirements, documenting decisions, and learning from process failures.
Behavioralstakeholder-managementcommunicationconflict-resolution - BehavioralHardModel answerDescribing Work That Energizes and Drains You
Explain which types of problems and environments bring out your best work as a data scientist, and which you find less motivating.
Behavioralself-awarenessrole-fitmotivation - System DesignHardModel answerDesign a Time-Series Observability Platform
Design a platform that ingests, stores, and queries millions of tagged metric streams per second with tiered retention, cardinality guardrails, and sub-second alerting.
System Designtime-seriesmetricscardinalitystorage - BehavioralMediumModel answerNavigate Misaligned Goals Across Engineering Teams
Resolve a conflict between two engineering teams with competing priorities under deadline pressure through structured negotiation and incentive design.
Behavioralleadershipstakeholder-managementconflict-resolution - Data Structure DesignMediumModel answerAccount Ledger with Reservation Expiry and Merging
Design a banking ledger that supports deposits, time-limited transfer reservations, acceptance of reserved transfers, and merging accounts with their pending operations.
Data Structure Designstate-machinereservation-systemunion-findexpiry-handling - Trees & GraphsMediumModel answerBuild a Same-Domain Web Page Crawler
Write a crawler that visits all pages reachable from a start URL, staying within the same domain, avoiding cycles and duplicate fetches.
Trees & Graphsgraph-traversalbfsdfsurl-parsing - BehavioralMediumModel answerEngineering Judgment in AI Safety and Behavioral Leadership
Discuss your perspective on AI safety and its implications for software work, then answer behavioral questions demonstrating ownership and judgment.
Behavioralleadershipethicsdecision-making - Machine LearningMediumModel answerDesign a Batching Service for GPU Model Inference
Build an online inference system that groups compatible GPU requests into batches to maximize throughput while meeting latency SLAs.
Machine Learningml-systemsbatchingdistributed-systemsgpu - Data Structure DesignMediumModel answerWind Field Tracker for Hot Air Balloons
Build a system that tracks balloon altitudes, computes spatially-varying wind exposure from multiple sources, and identifies stable balloons above a threshold.
Data Structure Designevent-simulationspatial-aggregationtime-based-statedata-structures - Statistics & ExperimentsMediumModel answerSegment-Level Profit Analysis for Feature Rollout Decision
Calculate profit impact across customer segments, derive break-even thresholds, and recommend a launch strategy balancing short-term economics with lifetime value.
Statistics & Experimentsexperimentationmetricsbusiness-casesegmentation - System DesignMediumModel answerBackend Architecture for High-Traffic Online Retail Platform
Design a scalable backend for an online retail platform that handles concurrent purchases, prevents overselling, and serves millions of browsing users.
System Designscalabilitydistributed-systemsdatabasesconsistency - Machine LearningMediumModel answerAttention Mechanisms, Autoregressive vs Masked Models, and Metrics
Explain attention in modern neural architectures, contrast autoregressive and bidirectional pretraining approaches, and discuss precision-recall tradeoffs.
Machine Learningdeep-learningnlpevaluation-metrics - BehavioralMediumModel answerDemonstrating Leadership and Values in Technical Interviews
Prepare for multi-part behavioral rounds that evaluate mission alignment, conflict resolution, ethical judgment, and project ownership through structured storytelling.
Behavioralleadershipcommunicationproject-managementethics - System DesignHardModel answerIn-Memory Document-Tag Store with Thread-Safe Concurrency
Design an in-memory library that manages documents and tags, supports multi-tag intersection queries, and handles concurrent reads and writes safely.
System Designconcurrencyindexingapi-design - Statistics & ExperimentsMediumModel answerDesigning an Experiment to Measure Search Quality
Design an A/B test for a search feature change, define metrics to track button performance, and explain how to assess result quality.
Statistics & Experimentsexperimentationmetricssearchhypothesis-testing - Data Structure DesignMediumModel answerBuild a Dynamic IP Address Filter with CIDR and Range Support
Implement a low-latency IP rule matcher supporting CIDR blocks and numeric ranges with conflict resolution based on specificity and recency.
Data Structure Designnetworkingdata-structuresheapsalgorithms - Statistics & ExperimentsMediumModel answerSubscription Economics: Lifetime Value and Break-Even Analysis
Calculate per-customer profitability for a subscription business with promotional periods, operating expenses, and attrition costs under different scenarios.
Statistics & Experimentsunit-economicsfinancial-modelingbreak-even-analysis - Trees & GraphsMediumModel answerBuild a File Owner Aggregator for Code Review Assignment
Parse Git diffs and a CSV ownership map to identify which contributor owns the most modified files in a branch comparison.
Trees & Graphsgitfile-iocsvaggregation - System DesignHardModel answerBuilding a Production CI/CD System with Custom Job Orchestration
Design a complete continuous integration and delivery platform for a large monorepo, with emphasis on the job scheduler that coordinates pipeline execution.
System Designci-cddistributed-systemsschedulinginfrastructure - Data Structure DesignMediumModel answerTime-Ordered Credit Bucket Manager
Build a ledger tracking credit buckets with expiration windows, supporting out-of-order events, priority-based consumption, and point-in-time balance queries.
Data Structure Designheapsevent-orderingtime-seriesdata-structures - System DesignMediumModel answerBuilding Access Control and Immutable Audit Systems
Design a low-latency authorization framework and tamper-proof audit logging infrastructure for a high-throughput financial application.
System Designauthorizationaudit-loggingdistributed-systemssecurity - BehavioralMediumModel answerMerging Two Compile-Time Integer Sequences in C++
Combine two std::index_sequence types into one using template metaprogramming without deep recursion.
Behavioralc++templatesmetaprogramming - System DesignHardModel answerBuild a Scalable Chunk-Based Storage Deduplication System
Design an enterprise-grade deduplication storage service handling petabyte-scale data with content-addressed chunking, distributed indexing, and safe garbage collection.
System Designdistributed-systemsstoragescalabilitydata-integrity - Machine LearningHardModel answerBuilding a Reliable Math Computation System with LLMs
Architect a production system that uses language models to solve mathematical problems by orchestrating symbolic computation, code execution, and tool integration.
Machine Learningllmtool-useevaluationproduction-ml - SQL & DataHardModel answerRolling Window Metrics and Multi-Role Activity Analysis
Build SQL queries to calculate rolling 7-day caller engagement rates and single-day participation thresholds for geo-filtered active users.
SQL & Datasqlaggregationwindow-functionstimezone-handling - Machine LearningHardModel answerBuild a Documentation and Data Q&A System with LLMs
Design an end-to-end RAG system that answers questions from product documentation and queries user-specific metadata with secure, tenant-isolated access.
Machine Learningretrieval-augmented generationllmsystem architectureauthorization - Machine LearningMediumModel answerDesign and Deploy a Production ML System
Describe a machine learning system you built from problem definition through deployment, covering architecture, modeling choices, evaluation, and production concerns.
Machine Learningml-system-designproduction-mlarchitectureexperimentation - Data Structure DesignMediumModel answerManaging a Live Event Stream with Pause and Statistics
Build a React hook that processes a high-speed event stream with deduplication, sorting, memory limits, pause/resume, and rolling time-window metrics.
Data Structure Designreacthooksstate-managementstreaming - Data Structure DesignMediumModel answerRPN Calculator and Lock-Free Queue Implementation
Build a macro-enabled expression evaluator and implement a thread-safe ring buffer with proper memory ordering.
Data Structure Designconcurrencymemory-managementcompilersdata-structures