practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5988 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.
- 5988
- Problems
- 2219
- Auto-graded
- 15
- Topics
- 271
- Added today
Showing 3391–3420 of 3769 results
- BehavioralEasyModel answerStructuring Answers for Data Science Behavioral Interviews
Prepare structured responses to four behavioral scenarios: personal pitch and motivation, problem discovery and resolution, deadline communication, and team inclusion.
Behavioralbehavioralcommunicationleadershipdata-science - BehavioralMediumModel answerC++ Containers and Polymorphism Mechanisms
Contrast contiguous versus node-based containers and explain static versus dynamic polymorphism in C++.
Behavioralc++data-structuresobject-oriented-designperformance - Data Structure DesignMediumModel answerBuild a Fee Calculator with Comprehensive Test Coverage
Write a service class that computes fees based on business rules, then extend it and write unit tests covering normal cases, boundaries, and errors.
Data Structure Designtestingvalidationobject-oriented-design - Statistics & ExperimentsHardModel answerOutdoor Ad Frequency and Attribution Modeling
Model weekly reach and impressions for a roadside billboard using Poisson exposure distributions and panel-based deduplication, then attribute conversions via transition probabilities.
Statistics & Experimentsprobabilityestimationattributionuncertainty - Machine LearningMediumModel answerDebug a GRPO Training Loop and Explain Ratio Drift
Walk through a GRPO policy-gradient loop, identify three subtle implementation bugs, and explain why the importance-sampling ratio drifts from 1 even in an on-policy setup.
Machine Learningreinforcement-learningRLHFpolicy-gradientLLM-training - Machine LearningMediumModel answerContent moderation classifier for social platforms
Design an ML system to flag inappropriate user posts in real time, covering data collection, model architecture, threshold tuning, and production monitoring.
Machine Learningclassificationimbalanced-dataproduction-mlmodel-deployment - BehavioralEasyModel answerManager Self-Assessment: Technical Ownership and Team Conflict
Describe your own technical decisions on a project you managed, then explain how you handled friction with a direct report.
Behavioralengineering-managementleadershipconflict-resolution - Data Structure DesignHardModel answerBuild a Function Pipeline and JSON Serialization Mixin
Create a left-to-right function compositor and a mixin class that serializes object attributes to JSON with configurable privacy filtering.
Data Structure Designpythonclosuresmetaprogrammingserialization - Trees & GraphsMediumModel answerTimestamp When All Users Form a Single Connected Group
Given users and a chronological log of pairwise interactions, determine when everyone first becomes transitively connected through interaction chains.
Trees & Graphsunion-findgraph-connectivitytemporal-graphdisjoint-set - BehavioralMediumModel answerFour-Story Senior Round: Ownership, Mentorship, and Decisions
Prepare four distinct stories demonstrating senior-level ownership: a technical project, developing another engineer, navigating a design trade-off, and resolving disagreement.
Behavioralleadershipcommunicationdecision-making - System DesignHardModel answerDistributed Cache and Compute Service Architecture
Design a thread-safe in-memory cache with LRU eviction and a CPU-intensive reconciliation service that handles traffic spikes and manages computational limits.
System Designcachingconcurrencyscalabilitydistributed-systems - BehavioralMediumModel answerBuilding Technical Standards and Team Ownership
Discuss your engineering principles, describe a quality-speed tradeoff decision, and explain how you foster ownership, peer collaboration, and sustained team health.
Behavioralleadershipteam-managementtechnical-judgment - Data Structure DesignEasyModel answerBuild an Inventory Manager with Nested Recipe Expansion
Implement a service that models recipes with nested dependencies, validates acyclic graphs, and atomically decrements raw inventory when orders succeed.
Data Structure Designobject-oriented-designgraph-validationatomicityconcurrency - Machine LearningHardModel answerComponents and Semantics of MDPs
Define the formal structure of a Markov decision process and explain how policies generate trajectories that accumulate discounted return.
Machine Learningreinforcement-learningdecision-processesmarkov-property - System DesignMediumModel answerDesign a Distributed File Sync and Sharing Platform
Build the architecture for a multi-client file storage system with hierarchical organization, collaborative sharing, chunked uploads, and cross-device synchronization.
System Designdistributed-systemsstorageapi-designconsistency - Machine LearningHardModel answerBuild a Real-Time Comment Ranking System
Design an ML-powered system to rank comments in discussion threads, balancing quality, safety, and latency at scale.
Machine Learningrankingml-system-designreal-timecontent-moderation - StringsMediumModel answerPlain-Text to HTML: Paragraphs, Blockquotes, and Strikethrough
Write a function that converts a plain-text string to HTML with paragraphs, soft line breaks, blockquotes, and strikethrough, handling all edge cases correctly.
Stringsparsingstring-processingtwo-pass - BehavioralEasyModel answerExplain a Technical Concept to Someone Learning It
Demonstrate your ability to break down a technical idea clearly, using examples and checking comprehension in a brief teaching session.
Behavioralcommunicationmentorshiptechnical-explanation - Data Structure DesignMediumModel answerBuild a Social Payment Platform with Friend Connections
Implement an in-memory system that handles user registration, friendship management, and peer-to-peer money transfers with proper validation.
Data Structure Designobject-oriented-designhash-tablesstate-management - System DesignMediumModel answerDiagnosing Performance Bottlenecks and Planning Infrastructure Scale
Debug a backend service that degrades under load, then calculate the infrastructure needed to support given traffic assumptions.
System Designcapacity-planningperformanceinfrastructurescalability - System DesignHardModel answerBI Connection Strategy and Filter Execution Order
Choose connection modes, tune query performance, and understand filter precedence for dashboards over large datasets in business intelligence platforms.
System Designbusiness-intelligencedata-architectureperformance-optimization - Stacks & QueuesMediumModel answerParse and Compute Arithmetic Expression with Recursion
Write a parser that evaluates arithmetic expressions with integers, four operators, parentheses, and unary negation using recursive descent or explicit stack DFS.
Stacks & Queuesrecursionparsingoperatorsdfs - Statistics & ExperimentsMediumModel answerValidating Experiment Results and Measuring Review Impact
Check whether a button color A/B test's retention drop is real or caused by test quality issues, then design a method to estimate how negative reviews affect repurchase.
Statistics & Experimentsexperimentationcausal-inferencebias-detection - BehavioralMediumModel answerDemonstrating Responsible AI Tool Usage in Engineering
Describe a real scenario where you incorporated AI assistance into technical work, covering verification steps, boundary decisions, and outcome quality.
Behavioralai-toolsengineering-judgmentcode-qualityprofessional-development - BehavioralHardModel answerDatabase Concurrency and Code Verification Strategy
Design a safe approach to fixing timestamp overwrites in a high-concurrency system while explaining how to validate code suggestions from automated tools.
Behavioraldatabasesconcurrencydebuggingcode-review - BehavioralMediumModel answerDemonstrating Impact and Cross-Functional Leadership
Articulate concrete examples of ownership, metric-driven decision-making, prioritization under ambiguity, and stakeholder alignment for a technical role.
Behavioralleadershipcommunicationmetricsprioritization - Data Structure DesignMediumModel answerBuild a Tic-Tac-Toe Game Engine with Move Validation
Design and implement a class that tracks board state, validates moves, detects winners, and enforces turn-based gameplay for a 3×3 grid game.
Data Structure Designstate-machinegame-logicobject-oriented-design - System DesignHardModel answerBuild a real-time bidding platform with proxy bids and soft close
Design a scalable auction system handling 500k live auctions, 5M watchers, proxy bidding, reserve prices, buy-it-now, soft close, and sub-200ms bid latency.
System Designauctionsreal-timeconsistencysharding - Arrays & HashingHardModel answerRearrange Grid Cells into Alternating-Row Order via Adjacent Swaps
Output a sequence of orthogonal-neighbor swaps that transforms a permuted square grid into alternating-row sorted form.
Arrays & Hashingmatrixgreedysimulationsorting - System DesignMediumModel answerDiagnosing Latency Spikes in a Thread-Pool Server
Investigate why a network server's P99 latency jumps from 10ms to 2s under load despite low CPU usage, and propose a plan to identify the bottleneck.
System Designperformanceconcurrencyprofiling