practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6045 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.
- 6045
- Problems
- 2239
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 2491–2520 of 3806 results
- BehavioralEasyModel answerLeading Under Pressure: Ownership, Growth, and Release Judgment
Practice four behavioral prompts covering project leadership, personal growth, team inclusion, and a pre-release bug decision with no time to fix it.
Behavioralleadershipdecision-makingteamworkrelease-management - System DesignMediumModel answerDesign an AI Feature for a Ride-Sharing Platform
Pick a rider or driver pain point, propose an AI-powered solution, and define how you'd measure whether it actually works.
System Designproduct designAI/MLmarketplacemetrics - System DesignHardModel answerDesign a Timeline-Anchored Live Reaction Stream
Design a system that attaches viewer comments to specific moments on a video timeline, staying synchronized across live watching, replay, seeking, and reconnection.
System Designreal-timestreamingdistributed-systemsfanout - System DesignMediumModel answerDesign a 1:1 Chat System for a Buyer-Seller Marketplace
Design a real-time direct messaging platform supporting message ordering, delivery receipts, offline notifications, and multi-device sync at marketplace scale.
System Designwebsocketsmessagingdistributed-systemsreal-time - Machine LearningHardModel answerKL Divergence: From Definition to LLM Training
Define KL divergence, explain its asymmetry and support requirements, and walk through how it appears in language model training and alignment.
Machine Learningkl-divergencelanguage-modelsrlhfinformation-theory - System DesignHardModel answerDesigning a Data Integrity System for Multi-Store Order Data
Design a validation and reconciliation pipeline that enforces order-book correctness across a set of loosely coupled databases with different freshness guarantees.
System Designfinancial systemsdata validationreconciliationevent-driven - System DesignHardModel answerEstimating Document Read Time in a Collaborative Writing Tool
Design a read-time estimation feature for a cloud document editor: model, validation strategy, system architecture, and success metrics.
System Designproduct-designestimationmachine-learningmetrics - BehavioralHardModel answerHandling Ambiguity, Stakeholder Conflict, and Urgent Pivots
Demonstrate ownership under uncertainty, prioritization when an emergency disrupts planned work, influencing without authority, and translating lessons into scalable systems.
Behavioralleadershipprioritizationconflict-resolutioncross-functional - Data Structure DesignMediumModel answerBuild a Collapsible JSON Tree Renderer in React
Create a React component that parses a JSON string and displays it as an interactive, expandable tree structure.
Data Structure Designreactrecursioncomponent-designstate-management - BehavioralMediumModel answerEngineering Manager Story: Team Impact, Quality, and People Growth
Walk through your management career with concrete examples of team impact, holding the engineering bar, handling underperformance, and growing people into larger roles.
Behavioralengineering-managerleadershipperformance-managementteam-building - BehavioralMediumModel answerThree Core Stories: Collaboration, Disagreement, and Mistake
Prepare three distinct experiences—contributing to a team, navigating a disagreement, and recovering from a mistake—told with specificity and honest reflection.
Behavioralbehavioralcommunicationteamworkleadership - Machine LearningMediumModel answerBinary Classification Loss: Derivation and Gradient Computation
Derive the cross-entropy objective for binary logistic regression from first principles and compute its gradients with respect to parameters.
Machine Learninglogistic-regressionmaximum-likelihoodgradientsregularization - Statistics & ExperimentsMediumModel answerRegistration Bug Financial Impact Analysis
Calculate the net profit impact of a database bug affecting user registration states over a three-month period using cohort-based analysis.
Statistics & Experimentsfinancial-modelingcohort-analysisrevenue-impact - Statistics & ExperimentsMediumModel answerReducing User Dropoff: Statistical Analysis and Experiment Design
Evaluate a feature launch's impact on dropoff rates using hypothesis testing, regression adjustment, power calculations with clustering, and bootstrap methods.
Statistics & Experimentshypothesis-testingregressionpower-analysisbootstrapping - Statistics & ExperimentsHardModel answerDesign a marketplace A/B test with network effects
Design an experiment for a two-sided marketplace feature, handling metric selection, randomization units, sample size calculation, and interference between users.
Statistics & Experimentsa-b-testingexperimentationmarketplacestatistical-power - BehavioralMediumModel answerWalk Me Through a Project You Led End to End
Structure a compelling technical deep dive covering problem context, your decisions, trade-offs, execution challenges, and measurable impact.
Behavioralcommunicationtechnical ownershipsystem designimpact measurement - BehavioralMediumModel answerWalk a Non-Technical Stakeholder Through a Data Science Project
Structure a compelling end-to-end narrative about a data science project you owned, balancing technical rigor with clear business impact for a mixed audience.
Behavioralcommunicationdata sciencestakeholder managementmodel validation - Statistics & ExperimentsEasyModel answerChatbot Quality Metrics: Joint Probability and A/B Testing
Apply independence rules, expected counts with uncertainty, and a two-proportion hypothesis test to evaluate and compare chatbot response quality.
Statistics & Experimentsprobabilityhypothesis-testinga-b-testing - System DesignMediumModel answerMutex Mechanics and Safe Shared State Access in C++
Explain how a C++ mutex enforces exclusive access, how locking works under contention, and how to correctly guard a multi-threaded shared counter.
System Designconcurrencycppthreading - System DesignHardModel answerReal-Time Event Tracking with Rolling Window Aggregations
Design a high-throughput pipeline that ingests behavioral events, deduplicates them, and serves accurate activity counts over 1-minute, 1-hour, and 24-hour sliding windows.
System Designstreamingtime-seriesaggregationdeduplication - BehavioralMediumModel answerDiscussing a Complex Engineering Project with Technical Depth
Articulate a challenging technical project by covering ownership, constraints, architectural choices, scaling strategy, and retrospective insights.
Behavioralbehavioralleadershipsystem-designcommunication - System DesignHardModel answerDesign a Real-Time Collaborative Document Editing Service
Design the backend for a multi-user document editor supporting concurrent edits, offline sync, conflict resolution, history, and per-note scaling.
System Designreal-timecollaborationwebsocketscrdt - Math & Bit ManipulationHardModel answerDo Two Walkers Ever Share the Same Tile?
Determine if two entities moving on an infinite 2D grid ever occupy the same cell at the same integer time step.
Math & Bit Manipulationgeometrysimulationinterval-arithmetictwo-pointers - BehavioralMediumModel answerBehavioral Stories That Hold Up Under Deep Follow-Up
Structure and deliver concrete STAR stories covering ownership, bias for action, customer focus, and failure in a behavioral interview setting.
BehavioralSTAR methodleadership principlesbehavioral interviewfailure story - Arrays & HashingEasyModel answerIdentify the Most Common Function Call in Application Logs
Determine which function name occurs most often in a list of log entries and report its occurrence count.
Arrays & Hashinghash-mapfrequency-countingiteration - SQL & DataMediumModel answerSchema Design for a Video Streaming Service
Design a relational database schema for a large-scale video platform, addressing scalability, GDPR compliance, and analytics requirements.
SQL & Datadatabase-designschema-modelingindexingpartitioning - BehavioralMediumModel answerNavigating Culture Gaps and Collaborative Conflict
Show how you identify working-style mismatches, adapt without losing effectiveness, and influence team norms while handling ambiguity, competing priorities, and pushback.
Behavioralculture-fitconflict-resolutioninfluence-without-authorityambiguity - SQL & DataMediumModel answerRolling Week Averages with Calendar-Based Windows
Calculate a 7-day moving average for each date using calendar intervals, not row counts, handling gaps and NULL values correctly.
SQL & Datawindow-functionsdate-arithmeticaggregation - BehavioralHardModel answerOwn a Project Deep Dive: Complexity, Bottlenecks, and Scale
Walk through a project you built, explaining its data flow, the hardest technical constraint, what you personally owned, and how you would scale it.
Behavioralproject deep divescalabilitytechnical ownershipsystem design - System DesignHardModel answerSemantic Cache with Deduplication Under Concurrent Load
Build a cache that recognizes semantically equivalent inputs, avoids redundant expensive computation when similar requests arrive concurrently, and keeps outputs consistent.
System Designcachingconcurrencyembeddingsdistributed-systems