practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6056 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.
- 6056
- Problems
- 2241
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 1471–1500 of 3815 results
- Machine LearningMediumModel answerLoss, Batch Size, Regularization and Tree Depth: ML Core Review
Four connected ML fundamentals: why log loss suits sigmoid outputs, how batch size shapes training, how L1 and L2 differ, and how leaf size controls bias and variance in trees.
Machine Learningcross-entropysgdregularizationdecision-trees - System DesignHardModel answerOptimizing Latency in C++: Inlining, Memory Allocation, and Variant Polymorphism
Analyze the runtime performance overheads of virtual dispatch and heap allocation in C++, and propose high-performance alternatives using static polymorphism and zero-allocation techniques.
System DesignC++Performance OptimizationStatic PolymorphismMemory Allocation - BehavioralEasyModel answerNavigating Project Delivery, Team Scenarios, and Workplace Dynamics
A guide to framing technical achievements, steering team dynamics under pressure, and communicating feedback effectively in engineering interviews.
Behavioralbehavioralleadershipproject-walkthroughteamwork - System DesignMediumModel answerDesign a Fleet Health Monitoring System for Edge Devices
Architect a scalable real-time monitoring system to track the online/offline status of 10 million connected edge devices with low latency and high availability.
System Designsystem-designdistributed-systemsstreamingcaching - Statistics & ExperimentsHardModel answerCalculating Experiment Sample Sizes, Multiplicity Corrections, and Duration
Derive sample sizes, adjust for variance misspecification and multiple testing, and design sequential stopping rules for online A/B tests.
Statistics & ExperimentsA/B TestingSample SizeMultiple TestingSequential Analysis - System DesignMediumModel answerGo-to-Market Technical Messaging and DevEx Evaluation for AI Features
A strategic framework for launching new AI technologies, measuring developer experience metrics, and navigating competitive benchmarking safely.
System DesignDevRelDeveloper ExperienceTechnical MarketingBenchmarking - StringsMediumModel answerFix a Buggy Python Table-to-CSV Function
Audit a short Python function that flattens rows into CSV text, list its correctness and performance flaws with triggering inputs, and rewrite it safely and efficiently.
Stringscode-reviewcsvpythonstring-building - Data Structure DesignMediumModel answerBuild a Per-User Throttle and an In-Memory Event Broadcaster
Write a thread-safe per-user token-bucket throttle and a small topic-based event broadcaster that stays correct under concurrency and survives failing listeners.
Data Structure Designrate-limitingtoken-bucketpub-subconcurrency - SQL & DataMediumModel answerBanner CTR and Session Change Analysis in Pandas
Clean a click-stream with pandas to compute daily banner CTR without bots or accidental clicks, user-level CTR by signup cohort, and per-user session-length change around a feature launch.
SQL & Datapandasmerge_asofsessionizationctr - Machine LearningMediumModel answerAssess Factuality and Domain Alignment in Specialized RAG Systems
Select and justify the best two evaluation strategies for assessing the factual correctness and domain consistency of a specialized medical RAG pipeline.
Machine Learningragllm-evaluationmachine-learningnlp - Machine LearningMediumModel answerEfficient Transformer Inference: Fused Attention, Caching, Rotary Positions
Explain how IO-aware attention kernels, cached keys and values, and rotary position encoding each remove a different bottleneck in transformer training and decoding.
Machine Learningtransformersflashattentionkv-cacherope - SQL & DataMediumModel answerDesigning a Scalable Event Data Analytics Warehouse
Architect an end-to-end data warehouse for high-throughput event logs, detailing schema design, idempotent deduplication, metric modeling, and performance optimization.
SQL & Datadata-warehousingschema-designsqlevent-data - Machine LearningMediumModel answerArchitecting a News Feed Comment Ranking System
Design an end-to-end machine learning system to rank comments on high-traffic posts, balancing user engagement, content quality, low latency, and cold-start handling.
Machine Learningranking-systemmulti-task-learningsystem-designrecommendation-systems - Machine LearningHardModel answerPredicting Goal Probability for Individual Soccer Shots
Design a calibrated probability model that estimates how likely each soccer shot is to score, covering feature design, sparse regions, proper loss functions and calibration.
Machine Learningprobability-estimationfeature-engineeringcalibrationlog-loss - Machine LearningMediumModel answerLife of a Prompt in a Block-Paged LLM Serving Engine
Walk one request through an LLM serving engine that stores attention state in fixed-size memory blocks, covering scheduling, prefill, decode, block tables, memory reclamation and latency trade-offs.
Machine Learningllm-inferencekv-cachepaged-attentioncontinuous-batching - System DesignHardModel answerBuild a Mobile-First Grid and Resilient Signup Form in Plain CSS
Create your own responsive utility-class grid, an accessible navbar and form, then add robust validation, async submit states, retry rules and telemetry, with no CSS framework.
System Designcssresponsive-designaccessibilityform-validation - Data Structure DesignMediumModel answerSimulate Message Spreading in an Orbital Network
Simulate timed, discrete-event message propagation across a satellite graph and fire report callbacks in exact time and ID order.
Data Structure Designtrees-graphsheaps-sortingdesign-ds - SQL & DataMediumModel answerIterative Nested List Flattening and UTC Active User Metrics
Implement an iterative nested list flattener in Python with edge-case handling, and construct a SQL query to compute Daily Active Users (DAU) using strict UTC date casting.
SQL & Datapythonsqlstacks-queuesdata-manipulation - System DesignHardModel answerDesign an Enterprise Healthcare Record Ingestion Engine
Architect a resilient, HIPAA-compliant ETL pipeline capable of ingesting 500 million daily sensitive records with strict partner fault isolation and replayability.
System Designsystem-designetlevent-drivendata-engineering - System DesignHardModel answerDesign a Real-Time Messaging and Collaboration Platform
Architect a scalable real-time chat service supporting workspaces, channels, direct messaging, persistent history, and message editing with low-latency delivery.
System Designsystem-designdistributed-systemswebsocketsdatabases - System DesignHardModel answerDesigning a Ranked Personal Content Feed at Scale
Architect a scalable, personalized news feed system that handles hybrid fanout, multi-stage recommendation pipelines, stable cursor pagination, and instant post soft-deletions.
System Designsystem designfeed designrecommendation systemcaching - Statistics & ExperimentsMediumModel answerPoisson Deviations, Selection Bias, and Properties of Correlation
Evaluate distribution modeling anomalies, analyze survivorship bias in predictive ML models, and prove core algebraic properties of covariance and correlation.
Statistics & Experimentsprobabilitybiascorrelationpoisson - System DesignHardModel answerDesigning a Thread-Safe Organization Hierarchy Service
Design a thread-safe, concurrent organization tree supporting high-volume reads and atomic modifications without deadlocks or partial updates.
System Designsystem-designconcurrencylock-freedata-structures - Data Structure DesignMediumModel answerBuild a Bounded, Thread-Safe Resource Pool with Timeouts
Implement a thread-safe pool that lazily creates up to N connections, reuses healthy ones, blocks callers with a deadline when exhausted, and shuts down cleanly.
Data Structure Designconcurrencythread-safetycondition-variableresource-pool - Statistics & ExperimentsMediumModel answerMean Uncertainty vs. Tail Threshold for Per-User Comment Counts
Estimate a 95% interval for average comments per user, explain how sample size shrinks the mean's variance, and compute and interpret the 95th percentile of the counts.
Statistics & Experimentsconfidence-intervalcentral-limit-theoremstandard-errorpercentiles - System DesignMediumModel answerBuilding a Crash-Safe Storage Engine for a Single-Node Key-Value Service
Design the storage engine of a single-node persistent key-value store covering indexing, large values, thread-safe access and cheap durability for acknowledged writes.
System Designstorage-enginelsm-treewrite-ahead-logconcurrency - Data Structure DesignMediumModel answerConcurrent Least-Recently-Used Cache with Constant-Time Operations
Build a fixed-capacity cache with O(1) lookup, update and eviction by recency, then make it safe for many threads and state exactly what consistency it guarantees.
Data Structure Designlru-cachehash-mapdoubly-linked-listconcurrency - Statistics & ExperimentsEasyModel answerCalculating A/B Test Sample Size and Duration for Conversion CTR
Perform a statistical power analysis to derive required sample size and experiment duration for an A/B test, analyzing the impact of changing MDE and real-world practical constraints.
Statistics & ExperimentsA/B TestingPower AnalysisSample SizeExperimentation - BehavioralMediumModel answerThree Behavioral Prompts for a Recorded Engineering Intern Screen
Practice answering three common behavioral prompts on video: leading without a title, forming a grounded view on AI in engineering, and recovering from a real setback.
Behavioralbehavioralleadershipstar-methodai-perspective - BehavioralMediumModel answerHandling Mid-Stream Shift in Project Requirements
Demonstrate how you managed a major shift in project requirements by evaluating alternatives, communicating scope trade-offs, and guiding stakeholders to a successful outcome.
Behavioralleadershipstakeholder-managementproject-managementtrade-offs