practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6010 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.
- 6010
- Problems
- 2227
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 3061–3090 of 3783 results
- Statistics & ExperimentsHardModel answerBalance Scale Strategy for Identifying One Defective Coin
Devise a three-weighing strategy using a balance scale to identify which of 12 identical coins is defective and determine if it's heavier or lighter.
Statistics & Experimentslogicinformation-theorycombinatorics - Statistics & ExperimentsHardModel answerBuild a rigorous A/B test for a small-business incentive pilot
Design randomization, compute power, define ITT/TOT estimands, specify variance reduction and guardrails, handle data quality, and make a rollout decision.
Statistics & Experimentsexperimentationcausal-inferencepower-analysisA/B-testing - BehavioralMediumModel answerBuild Interdependent Month Dropdowns in React
Create two controlled month selector dropdowns with validation logic that prevents selecting invalid date ranges and past months.
Behavioralreactformsvalidationaccessibility - Statistics & ExperimentsHardModel answerAssessing a Customer Retention Incentive Using Causal Methods
Design and validate a causal analysis for a regionally piloted customer compensation policy using difference-in-differences and related techniques.
Statistics & Experimentscausal-inferenceexperimentationdifference-in-differencesbusiness-metrics - System DesignHardModel answerDefine and optimize performance for a high-traffic microservice
Design SLIs/SLOs, instrument a service, plan load tests, identify bottlenecks, and propose optimizations with trade-offs for a stateless HTTP API.
System Designperformanceobservabilityload-testingsli-slo - BehavioralMediumModel answerRecover from a project that shipped and then failed in production
Demonstrate how you handled a project that launched but broke down post-release, showing ownership, diagnosis, and learning.
Behavioralbehavioralfailureownershippost-mortem - BehavioralHardModel answerDebugging False Approvals in a Risk Scoring System
Investigate why a return-eligibility scoring service incorrectly approves high-risk requests and identify root causes across inputs, logic, and control flow.
Behavioraldebuggingsoftware-engineeringsystemstroubleshooting - BehavioralHardModel answerIterating on a Launched Product: Prioritizing Post-MVP Improvements
Describe launching an initial product version and your approach to deciding which enhancements to build next based on real-world usage and feedback.
Behavioralproduct-thinkingprioritizationtechnical-debtleadership - Machine LearningHardModel answerBuild a Ranking Model for User Engagement
Design a complete ML ranking system including data collection, feature engineering, model architecture, evaluation metrics, and production deployment.
Machine Learningmachine-learningrankingproduction-mlsystem-design - Statistics & ExperimentsHardModel answerMeasuring Offline Ad Impact: Train Station Billboard Analysis
Design a causal measurement framework for billboards in transit hubs, quantify incremental user growth, estimate exposed audience, and build a forecasting model.
Statistics & Experimentsexperimentationcausal-inferencemarketing-analytics - BehavioralMediumModel answerNavigating Cross-Team Conflict on a Data-Driven Decision
Describe resolving a significant disagreement between teams on a data-informed choice, showing how you diagnosed the conflict, facilitated alignment, and owned execution.
Behavioralleadershipcollaborationdata-analysisconflict-resolution - BehavioralMediumModel answerProfessional Growth, Role Context, and Technical Project Walkthrough
Explain how you develop professionally, describe your current position, dissect a major technical project, reflect on lessons learned, and pose informed questions.
Behavioralleadershipcommunicationtechnical-depthself-awareness - SQL & DataMediumModel answerRetrieve and rank teams from a paginated REST API
Build a client that fetches all pages of team records, handles retries and rate limits, then returns the top n teams sorted by wins descending and name ascending.
SQL & Datapaginationapierror-handlingsorting - BehavioralMediumModel answerWalk Me Through Two Projects You've Worked On
Demonstrate technical depth, ownership, and cross-functional maturity by narrating two real projects with concrete tradeoffs and measurable results.
Behavioralownershiptradeoffscross-functionalcommunication - System DesignMediumModel answerDesign a Link Shortening Service: Codes, Storage, and Redirects
Design a system that converts long URLs into short codes and redirects visitors at scale, covering code generation, storage choices, caching, and failure handling.
System Designurl-shortenercachingdistributed-systems - Machine LearningHardModel answerDesigning a Multimodal Classifier for Prohibited Item Listings
Design an end-to-end ML system that detects policy-violating item-for-sale posts by combining text, image, and behavioral signals at platform scale.
Machine Learningmultimodalcontent-moderationclassificationsystem-design - System DesignMediumModel answerDesigning a Scalable Concert Ticketing System
Build the backend for a live event ticketing platform that prevents overselling during high-traffic on-sales while managing seat reservations and payments.
System Designdistributed-systemsconcurrencytransactionsscalability - Machine LearningHardModel answerTechniques to Control Overfitting in Neural Networks
Describe regularization methods that prevent overfitting, comparing weight penalties with dropout and explaining their train/test differences.
Machine Learningregularizationoverfittingdropoutweight-decay - Statistics & ExperimentsMediumModel answerMeasuring Pickup Time Impact in a Two-Sided Marketplace
Design an experiment to measure how changes in estimated pickup time affect rider behavior in a ride-sharing platform.
Statistics & Experimentscausal-inferenceexperiment-designmarketplace-dynamics - BehavioralHardModel answerReasoning About AI Capabilities, Risks, and Safety Principles
Articulate your understanding of AI safety concepts, distinguish risk categories, evaluate tradeoffs between potential harms and benefits, and explain how to act under uncertainty.
Behavioralai-safetyrisk-analysiscritical-thinkingvalues-alignment - System DesignMediumModel answerWhy One Process Never Gets CPU Time on a Two-Core System
Given five identical CPU-bound processes on two cores where four run fairly and one runs never, pinpoint which OS subsystem is responsible and explain what can go wrong there.
System Designoperating-systemsschedulingconcurrencystarvation - System DesignHardModel answerDesign a Multi-Tenant Real-Time Chat Platform at Global Scale
Design a collaborative messaging system supporting thousands of isolated organizations, millions of concurrent users, real-time delivery under 200ms, and global traffic distribution.
System Designwebsocketsmulti-tenancyfan-outkafka - BehavioralMediumModel answerValues Under Pressure: Safety, Ethics, and Updating Beliefs
An open conversation probing your reasoning on technical risk, moral trade-offs, and changing your mind when evidence shifts.
Behavioralleadershipethicsjudgment - Machine LearningMediumModel answerAudio ML Pipeline: Preprocessing Choices and Training Strategy
Design preprocessing and training for an audio ML system, comparing feature representations, normalization, augmentation, and explaining a complete training workflow.
Machine Learningaudio-mlfeature-engineeringmodel-trainingdata-pipeline - Statistics & ExperimentsMediumModel answerSimpson's Paradox: Algebra, Causality, and When to Stratify
Build a numeric reversal from scratch, derive the bias formula, connect it to causal graphs, and explain when the aggregate is the right answer versus when you must condition.
Statistics & Experimentssimpson's paradoxconfoundingcausal inferencestratification - SQL & DataMediumModel answerResilient Paginated API Client with Aggregation
Build a robust script that authenticates against a paginated REST API, handles rate limits and bad records, and produces serialized output plus top-k category aggregates.
SQL & Datapythonrest-apipaginationdata-pipeline - BehavioralMediumModel answerNavigating Conflict: Peers, Cross-Team, and a Resistant Mentee
Three behavioral prompts on resolving disagreements with a peer, a partner team, and a junior engineer who pushes back on your guidance.
Behavioralconflict resolutioninfluence without authoritymentorshipcross-functional collaboration - System DesignMediumModel answerDesign an In-Process Record Buffer with Async Disk Writes
Design a thread-safe, memory-bounded write buffer that batches records in memory and drains them to disk via a background thread under high producer concurrency.
System Designconcurrencybufferingbackpressurebackground-threads - Stacks & QueuesMediumModel answerStack Trace Event Stream from Periodic Samples
Convert a sequence of call stack snapshots into function entry and exit events with configurable debouncing to filter transient frames.
Stacks & Queuesstacksarrayssimulationstate-machine - StringsMediumModel answerFive Python Fundamentals: Iteration, Collections, and Edge Cases
Write five short functions covering string repetition, list transformation, FizzBuzz, word counting, and finding the second-largest unique integer.
Stringspythonfundamentalsedge-cases