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 2881–2910 of 3791 results
- Machine LearningMediumModel answerExtending a Credit Model to Underserved Score Segments
Design an approach to evaluate applicants below your model's training range when historical approval data exists only above a credit score threshold.
Machine Learningmodel-extrapolationdistribution-shiftreject-inference - System DesignMediumModel answerDesign a Rate Limiting Service for a Multi-Region API Platform
Design a low-latency, distributed rate limiter that enforces per-key request quotas across a fleet of servers handling millions of requests per second.
System Designrate-limitingdistributed-systemsredisconsistency - Data Structure DesignHardModel answerBuild a Reference-Counted Pointer from Scratch in C++
Implement a class template SharedPtr<T> that manages heap object lifetime through reference counting, supporting copy, move, reset, and safe self-assignment.
Data Structure DesignC++RAIImemory managementtemplates - SQL & DataMediumModel answerPer-Category Top-10 Items: Revenue Share Analysis
Write a SQL query ranking the top 10 items by revenue within each category and compute what fraction of each category's total revenue those items represent.
SQL & Datawindow-functionsaggregationCTEsranking - BehavioralMediumModel answerChoosing Between Building Internal Tools or Adopting Third-Party Solutions
Develop a framework to evaluate whether to develop software internally or purchase external products, considering strategic value, economics, and risk.
Behavioralproduct-thinkingdecision-makingtrade-offs - BehavioralMediumModel answerHiring Manager Check-In: Role, Motivation, and AI Awareness
A conversational hiring-manager round probing your current scope and impact, your genuine reasons for switching, and how you practically engage with AI.
Behavioralmotivationcurrent-roleAI-awarenesssenior-engineering - BehavioralMediumModel answerWalking Through Logistics and Comp in a Recruiter Call
Communicate your compensation expectations, location preferences, start date, work authorization, and timeline constraints clearly and professionally during a recruiter conversation.
Behavioralcompensationlogisticsrecruiter screencommunication - Machine LearningMediumModel answerDesign a Tabular Classification Pipeline from Raw CSV to Deployment
Build a complete ML classification system: data splits, preprocessing, model training and tuning, evaluation metrics, serialization, and a batch inference entry point.
Machine Learningclassificationscikit-learnfeature-engineeringmodel-evaluation - System DesignMediumModel answerCritique a GPU Inference Service Design and Schedule Mixed Models
Analyze a design for a batched GPU inference API, identifying flaws in batching, load distribution, caching, and admission control, then calculate capacity needs and schedule heterogeneous models.
System Designgpu-inferencebatchingload-balancingcapacity-planning - SQL & DataMediumModel answerTime-Zone-Aware Activity Drop Detection Query
Write SQL to find countries where the most creators posted significantly less in the recent week than their baseline, accounting for local time zones.
SQL & Datasqlwindow-functionstime-seriesaggregation - Data Structure DesignMediumModel answerExpiring Credit Wallet: Drain Soonest-Expiring First, Halt on Overdraft
Design an in-memory credit ledger that consumes the earliest-expiring balance first and permanently returns None after any overdraft.
Data Structure Designheapgreedysimulationexpiry - BehavioralMediumModel answerTell me about the hardest obstacle you overcame on a project
Share a specific technical or collaborative challenge, walk through how you tackled it, and reflect on the outcome.
Behavioralbehavioralcommunicationproblem-solving - BehavioralHardModel answerOwn a Technical Mistake and Show What You Built From It
Describe a real technical failure you drove, how you surfaced it, and what concrete process changes you made so it wouldn't happen again.
Behavioralintellectual-humilityaccountabilitygrowth-mindsettechnical-leadership - Statistics & ExperimentsMediumModel answerDiagnosing Recurring and One-Off Traffic Anomalies in an E-Commerce Platform
Given three years of weekly session data with consistent autumn spikes and a single summer anomaly, identify plausible causes and validate hypotheses through segmentation and decomposition.
Statistics & Experimentstime-seriesanomaly-detectioncausal-reasoningsegmentation - Statistics & ExperimentsMediumModel answerDesign an Experiment to Evaluate a Cargo-Bike Courier Pilot
Design an end-to-end experimentation framework—metrics, randomization strategy, spillover detection, and a decision rule—for a bike courier program in dense urban zones.
Statistics & Experimentsexperimentationmarketplacecausal-inferencemetric-design - System DesignHardModel answerBuild a Multi-Institution Personal Finance Dashboard
Design a system that ingests transactions and balances from banks and credit cards, normalizes and deduplicates them, and powers budgeting and alerting features.
System Designsystem-designfintechdata-ingestionsecurity - BehavioralMediumModel answerDescribing Impact and Cross-Functional Collaboration
Explain a high-impact project you led and an experience collaborating across organizational boundaries to achieve a shared goal.
Behavioralleadershipcollaborationcommunication - Statistics & ExperimentsMediumModel answerBuild and Pitch a Growth Plan for a Consumer App You Know
Walk through a consumer app's business model, propose metrics and product improvements, design an experiment, and defend the investment to a skeptical stakeholder.
Statistics & Experimentsproduct analyticsgrowth strategyexperimentationmetrics - Statistics & ExperimentsHardModel answerBalancing Revenue and User Experience in Content Feed Monetization
Design an experiment and framework to find the revenue-maximizing ad density that doesn't degrade long-term user engagement or lifetime value.
Statistics & Experimentsexperimentationproduct-metricsuser-behaviormonetization - Data Structure DesignMediumModel answerBuild a Reference-Counted Smart Pointer in C++
Design and implement a shared ownership pointer with automatic memory management using reference counting and RAII principles.
Data Structure Designc++memory-managementraiimove-semantics - System DesignMediumModel answerDesign a Decentralized Large-File Distribution Network
Design a peer-to-peer file sharing system where downloaders pull chunks directly from other peers, covering content identity, discovery, integrity verification, NAT traversal, and swarm health.
System Designpeer-to-peerdistributed-systemsfile-transferNAT-traversal - Machine LearningHardModel answerDesign an ML System to Forecast Shipment Arrival Time
Design an end-to-end ML system that predicts when a parcel will arrive, covering target definition, features, leakage prevention, uncertainty, and production monitoring.
Machine Learningml-system-designtime-to-eventfeature-engineeringdata-leakage - System DesignMediumModel answerDecompose a Monolithic Chatbot into SOLID Components
Refactor a single-class chatbot prototype into modular, testable, dependency-injected components following SOLID design principles.
System Designobject-oriented-designrefactoringSOLIDpython - System DesignMediumModel answerIn-Memory Event Deduplication with a Sliding Time Window
Design a low-latency, high-throughput in-memory service that suppresses duplicate events within a configurable 10-minute window at 100k events/sec.
System Designdeduplicationin-memoryconcurrencysystem-design - Data Structure DesignMediumModel answerBuild a nested namespace tree from dotted model parameter names
Convert a flat list of dotted parameter keys like layer indices into a grouped nested dictionary, collecting nonconforming, duplicate, and structurally conflicting keys separately.
Data Structure Designstringshashingtrieedge-cases - BehavioralMediumModel answerTriage Decisions When Your Pipeline Fails Near a Deadline
Rank four actions taken during a timed data science assessment where a pipeline fails a hidden test, and justify each ranking using integrity, risk, and stakeholder impact.
Behavioralsituational-judgmentdata-sciencetime-pressureintegrity - BehavioralMediumModel answerArticulating Career Progression and Project Impact
Demonstrate your ability to present a cohesive career story and explain a technical project's context, decisions, trade-offs, and measurable results.
Behavioralleadershipcommunicationimpacttechnical-decisions - Math & Bit ManipulationMediumModel answerCompute Sum of Divisible Integers Using Inclusion-Exclusion
Find the total of all positive integers below n divisible by 3, 5, or 7 in constant time using arithmetic series and inclusion-exclusion.
Math & Bit Manipulationinclusion-exclusionarithmetic-seriesnumber-theory - Statistics & ExperimentsMediumModel answerDesigning an Experiment for an AI Conversation Assistant in Community Forums
Design an A/B test for a proactive AI assistant in forum threads, covering metrics, randomization, and evaluation of novelty and interaction effects.
Statistics & Experimentsa-b-testingexperiment-designmetricsguardrails - System DesignMediumModel answerReducing Turnaround Time on Shared HPC Benchmark Pipelines
Design a policy and workflow to cut benchmark cycle time and HPC resource consumption without compromising result validity.
System DesignHPCbenchmarkingresource managementQA