practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6117 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.
- 6117
- Problems
- 2267
- Auto-graded
- 15
- Topics
- 275
- Added today
Showing 2521–2550 of 6117 results
- Arrays & HashingEasyAuto-gradedSoftmax-Weighted Value Mixing for Query Rows
Implement scaled dot-product attention on nested lists using a numerically stable softmax and a weighted average of value rows.
Arrays & Hashingmatrixsoftmaxnumerical-stabilityattention - 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 - Arrays & HashingEasyAuto-gradedFind the Modal Number, Smallest on a Tie
Tests frequency counting with a hash map and a deterministic numeric tie-break, returning the value itself without altering the input list.
Arrays & Hashinghash-mapcountingtie-breaking - 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 - Data Structure DesignMediumAuto-gradedRun a Command Log on a Recency Cache with Live Mean
Simulate a fixed-capacity least-recently-used cache from a command log, answering lookups and the mean of stored values, each in expected constant time.
Data Structure Designlru-cachehash-mapdoubly-linked-listrunning-sum - StringsMediumAuto-gradedEvery Window of Length Three or More Must Be a Known Word
Check that every contiguous substring of length at least 3 appears in a word list, testing set-based lookups, loop bounds and the vacuous case for short strings.
Stringsstringshash-setsubstringsenumeration - 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 - SQL & DataMediumAuto-gradedLongest Average Calls Leaderboard Since a Cutoff
Filter call records by start time, group by user to get average duration in minutes, then rank with a deterministic tie-break and keep the top 10.
SQL & Datagroup-byaggregationdatetimesorting - 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 - System DesignHardModel answerDesign a Serialized BLE Command Queue and Transport Handler
Architect a reliable, serialized command dispatch system for Bluetooth Low Energy peripherals with response matching, timeout management, and fault tolerance.
System Designsystem-designiosbluetoothconcurrency - BehavioralMediumModel answerDemonstrating Effective Cross-Functional Collaboration in Engineering
Structure and present a concrete experience of collaborating across engineering, product, or operational teams using the STAR framework.
Behavioralbehavioralleadershipcross-functionalcommunication - Statistics & ExperimentsMediumModel answerPitfalls of P-Values in Experimentation and Better Alternatives
Analyze key weaknesses of relying solely on p-values for launch decisions in A/B testing and provide practical, robust statistical alternatives.
Statistics & Experimentsstatisticshypothesis-testingab-testingp-values - Data Structure DesignMediumAuto-gradedEvaluate Nested Comparison Rules Over a List of Records
Evaluate a nested rule tree of greater-than, less-than, AND and OR nodes against records, keeping matches in order and treating missing or mismatched fields as false.
Data Structure Designrecursiontree-evaluationfilteringvalidation - BehavioralMediumModel answerLeading Through Pushback and Guarding Sensitive Data
Two behavioral scenarios: winning over a teammate who disputes your new lead role, and answering a manager's request for access to sensitive data without breaking policy.
Behavioralbehavioralleadershipconflict-resolutiondata-governance - SQL & DataMediumModel answerMulti-Task SQL Analytics for On-Demand Logistics
Solve multi-part SQL analytics queries covering sparse dimensions, gap-and-island sequences, conversion metrics, and latency percentiles.
SQL & Datasqlwindow-functionsgaps-and-islandspercentiles - Machine LearningEasyModel answerChoosing Between Standardization and Min-Max Normalization
Demonstrate how to apply standardization to one column and min-max normalization to another using scikit-learn without data leakage, and explain the theoretical trade-offs of each.
Machine Learningpreprocessingfeature-scalingscikit-learndata-leakage - StringsMediumAuto-gradedCentered Pascal Pyramid Renderer
Build the first n rows of Pascal's triangle and render them as a centered text pyramid with fixed-width, right-aligned cells and floor-based indentation.
Stringspascal-trianglestring-formattingsimulationmath - Statistics & ExperimentsMediumModel answerAnalyzing and Forecasting Heavy-Tailed User Engagement Metrics
Learn how to robustly summarize, visualize, and forecast heavy-tailed metrics such as daily share volumes using quantile methods and robust seasonal time series models.
Statistics & Experimentstime-seriesforecastingquantilesheavy-tails - System DesignMediumModel answerAuthenticating Kubernetes Workloads to External APIs Securely
Evaluate methods for providing third-party API tokens to Kubernetes workloads, focusing on credential lifecycle, secret rotation, and workload identity.
System Designkubernetessecuritycloud-nativeiam - Trees & GraphsMediumAuto-gradedRead a Tree Off Column by Column from a Level-Order List
Decode a level-order tree list, assign each node a column, and output values grouped by column with row-then-reading-order tie-breaking.
Trees & Graphsbinary-treebfshash-maplevel-order - Statistics & ExperimentsEasyModel answerComparing Queue Waiting Times and Analyzing Non-Normal Distributions
Evaluate queueing behavior under exponential service rates and analyze summary metrics for bimodal and right-skewed operational distributions.
Statistics & Experimentsqueueing theoryprobabilitydistributionsdescriptive statistics - System DesignMediumModel answerComparing GCC and the Clang/LLVM Toolchain for C++ Builds
Explain how GCC and a Clang/LLVM toolchain turn C++ into machine code, how optimizers exploit undefined behavior, and how to fairly investigate differences in generated code.
System Designcompilersc++llvmundefined-behavior - Machine LearningMediumModel answerArchitecting Recommendation Engines for Item and User Cold-Start
Design candidate generation, ranking features, and exploration policies to serve zero-history users and rank newly published content in a large-scale video streaming system.
Machine Learningrecommendation-systemscold-startcandidate-generationranking - BehavioralMediumModel answerFostering Individual Engineering Growth and Safeguarding Code Quality
A two-part behavioral prompt exploring how you coach struggling peers and establish sustainable team engineering standards without creating friction.
Behavioralcoachingmentorshipcode-qualityleadership