practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6021 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.
- 6021
- Problems
- 2229
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 931–960 of 3792 results
- Data Structure DesignMediumModel answerReversible Wallet Balance Tracker with Undo and Redo
Design an in-memory wallet class that applies relative changes and absolute resets to an integer-cent balance, with full undo and redo and constant-time operations.
Data Structure Designdesignundo-redostackscommand-pattern - BehavioralMediumModel answerMentoring & Developing Data Science Teammates as a Senior IC
Learn how to answer behavioral interview questions about mentoring junior data scientists, establishing growth frameworks, scaling mentorship, and resolving conflict without direct authority.
Behavioralbehavioralleadershipmentorshipdata-science - Data Structure DesignMediumModel answerReview a Fit/Transform Preprocessing Module and Write a Key Test
Review a small Python preprocessing module with an outlier-capping class and three imputers: explain its purpose, justify fit/transform separation, critique style and imports, and write one key unit test.
Data Structure Designpythoncode-reviewscikit-learnunit-testing - Machine LearningMediumModel answerDesigning a Quality Strategy for Robotic Automated Leaf Counting
Learn how to design a comprehensive test suite for computer vision and robotics systems when absolute ground truth is difficult to determine.
Machine Learningcomputer-visiontestingroboticsground-truth - BehavioralMediumModel answerWorking With AI Tools and Getting Your Team to Adopt Them
A two-part behavioral prompt: describe how you use AI tools in your own engineering work, then describe a time you got teammates to adopt them, including safeguards and results.
Behavioralbehavioralai-toolsleadershipinfluence - Statistics & ExperimentsMediumModel answerEvaluating Feature Value vs. Exposure in Natural Product Placements
Design an experiment to isolate intrinsic feature value from discoverability and promotional placement, ensuring unbiased measurement of user engagement.
Statistics & ExperimentsA/B TestingExperimentationProduct AnalyticsExperimental Design - System DesignMediumModel answerBuild a Company-Wide Log Aggregation and Search Platform
Design a scalable platform that collects logs from many services, stores them durably with retention, supports filtered search, survives traffic spikes, and isolates tenants.
System Designsystem-designloggingobservabilitykafka - System DesignMediumModel answerMulti-Tenant Ad Delivery and Performance Analytics Platform
Architect a multi-tenant ad server and analytics engine that reliably serving ads, deduplicates metrics, and aggregates cross-campaign performance stats.
System Designsystem-designdistributed-systemsevent-drivenad-tech - BehavioralMediumModel answerDemonstrating Engineering Leadership and Navigating Hiring Logistics
Master key behavioral themes—ownership, ambiguity, conflict, and feedback—while effectively communicating hiring logistics and professional trade-offs.
Behavioralbehavioralleadershipcareer-growthstakeholder-management - Data Structure DesignMediumModel answerSingle-Open Async Tooltip Panels with Keyboard Support in React
Design a React popover that fetches data when opened, stays exclusive across many triggers, ignores stale responses, and handles focus, Esc, and outside clicks accessibly.
Data Structure Designreactaccessibilityrace-conditionsfocus-management - BehavioralMediumModel answerPitch Yourself for Quant Research and Walk Through a Rapid Decision
Deliver a short quant-focused introduction, explain your motivation for the role and the firm, and tell a story about a fast, high-stakes call made with limited data.
Behavioralbehavioralquant-researchself-introductiondecision-making - System DesignMediumModel answerBatch-Apply Transform Chains to a Folder of Photos
Apply every transform chain to every photo, in order, with deterministic output names, no repeated decoding, and a design that parallelizes cleanly.
System Designparallelismbatch-processingimage-processingmultiprocessing - BehavioralMediumModel answerLeading a Cross-Team Program From Ambiguity to Launch
Walk through a program you drove end to end, explaining how you scoped and ranked work, handled disagreements between teams, and reduced delivery and launch risk.
Behavioralprogram-managementprioritizationstakeholder-managementrisk-mitigation - System DesignMediumModel answerLazy Iteration and Function Wrapping in Python: Generators and Decorators
Explain how Python generators suspend and resume execution to stream data lazily, and how decorators wrap functions, including a correct wrapper that preserves metadata.
System Designpythongeneratorsdecoratorslazy-evaluation - System DesignMediumModel answerBuild a Ranked Daily Reading Feed from Thousands of Publishers
Design a platform that pulls articles from many external publishers and serves each of millions of daily users a ranked, tailored feed in under 200ms, while staying up when sources fail.
System Designsystem-designrecommendationrankingcaching - Machine LearningHardModel answerKV Cache, RoPE, and Nucleus Sampling with Temperature
Explain why decoder-only transformers use a KV cache and rotary embeddings, then implement a temperature-scaled nucleus (top-p) sampler over next-token logits.
Machine Learningtransformerskv-cacheropetop-p-sampling - Data Structure DesignMediumModel answerPluggable Scoring Pipeline for Ranking Concert and Show Listings
Design an object-oriented ranking engine where scoring and filtering rules can be chained, weighted, reordered and isolated from failures, with a backfill tier when too few results come back.
Data Structure Designobject-oriented-designstrategy-patternrankingfallback - SQL & DataMediumModel answerEvaluating Content Performance by Audience Relationship Type
Analyze video engagement and interaction rates segmented by viewer relationship types over a rolling 7-day window using SQL aggregations and joins.
SQL & Datasqlaggregationjoins - Data Structure DesignMediumModel answerBuild a CSV Data Frame and Assembly of Sequence Fragments
Parse RFC 4180 CSV into an in-memory table with query support, and reconstruct chained sequences from directed or undirected overlapping fragments.
Data Structure Designdesign-dsstringstrees-graphs - BehavioralMediumModel answerTwo Behavioral Stories: A Proud Project and Tough Feedback
Prepare two structured behavioral answers: a project you're proud of with measurable impact, and a time you got critical feedback and changed your behavior in a lasting way.
Behavioralbehavioralstar-methodownershipfeedback - System DesignMediumModel answerBuild a Real-Time Risk Scoring Gateway for Card Payments
Design a low-latency, highly available service that scores each payment attempt using analyst-owned rules plus ML models and returns an explainable approve, block, step-up, or review verdict.
System Designsystem-designfraud-detectionfeature-storerules-engine - System DesignMediumModel answerDesign a Multi-Vendor Book Aggregator & Automated Ordering Service
Design an asynchronous system that aggregates quotes across hundreds of vendor APIs to find the best price for an ISBN, places an order within a target bid, and manages payment consistency.
System Designsystem-designdistributed-systemsfault-toleranceconcurrency - System DesignHardModel answerTesting Plan: Hardware Queue, Rotating Arbiter, Ready/Valid Link
Plan the verification of three small digital blocks (a FIFO, a round-robin arbiter and a valid/ready link) covering testbench structure, random stimulus, assertions and coverage.
System Designdesign-verificationsystemverilogscoreboardassertions - BehavioralMediumModel answerDeep Dive on Your Highest-Impact Engineering Project
Present one significant project you owned from problem to results, covering design choices, your personal role, a hard debugging episode, and what you would do differently.
Behavioralbehavioralproject-deep-diveownershiptradeoffs - System DesignMediumModel answerMaking External Payment Integration Resilient to Retries and Network Drops
Analyze a buggy payment handler, explain why database transactions fail to solve distributed state issues, and design a resilient flow using idempotency and background reconciliation.
System Designsystem-designdistributed-systemsidempotencypayments - System DesignHardModel answerDesign a Streaming LLM Output Architecture
Design a scalable backend architecture for real-time AI token streaming featuring resume capability, low latency, prompt cancellation, and fault isolation.
System Designsystem-designstreamingllmredis - Machine LearningMediumModel answerFrom Raw Text to Tokens: Subword Tokenizers and Modern LLM Blocks
Describe how subword tokenizers such as SentencePiece work, what a Transformer block contains, and why recent LLMs replaced parts of the original design with RMSNorm, RoPE, and MoE.
Machine Learningtokenizationtransformerssentencepiecerope - BehavioralMediumModel answerReflecting on a Key Technical Project: Architecture, Impact, and Trade-offs
Prepare a structured, deep-dive response covering the technical choices, failure modes, leadership, and metrics of your most significant recent engineering project.
BehavioralBehavioralSystem DesignLeadershipTechnical Deep Dive - Statistics & ExperimentsMediumModel answerEvaluating an Automated Bid Optimizer in an Ad Marketplace
Design an evaluation plan for an ML-driven auto-bidding tool: choose metrics, set up a randomized experiment, and handle marketplace interference and selection bias.
Statistics & Experimentsexperiment-designcausal-inferencemarketplace-interferencemetrics - Statistics & ExperimentsMediumModel answerSpotting Automated Accounts from a Comment Event Log
Design behavioral features from a comment log to flag automated accounts, choose a classification cutoff without clean labels, and check that heavy human users are not unfairly caught.
Statistics & Experimentsanomaly-detectionfeature-engineeringthreshold-selectionfairness-validation