| Clickstream Sessionization & Rolling Engagement Features Python 3PandasPolarsSessionization | Data Ops | Medium | MetaUberAirbnb | — |
| Monthly Cohort Retention & A/B Experiment Lift SQLCTEsA/B TestingCohort Analysis | SQL & Analytics | Medium | StripeAirbnbDoorDash | — |
| Mini-Batch Logistic Regression with L2 Regularization Python 3Gradient DescentRegularizationClassification | ML Scratch | Medium | GoogleMetaStripe | — |
| Causal Multi-Head Self-Attention (PyTorch) Python 3PyTorchTransformersAttention | Deep Learning | Hard | OpenAIAnthropicGoogle DeepMind | — |
| Overlapping RAG Chunker & Hybrid Reciprocal Rank Fusion Python 3RAGChunkingCosine Similarity | GenAI | Easy | AnthropicOpenAICohere | — |
| Rolling 7-Day Active Users (DAU/WAU Stickiness) Python 3PandasTime SeriesProduct Metrics | Data Ops | Easy | MetaSnapTikTok | — |
| Point-in-Time As-Of Feature Join (Zero Future Leakage) Python 3PandasFeature StoreAs-Of Join | Data Ops | Medium | StripeBlockCoinbase | — |
| Top-3 Highest Grossing Products per Category (With Ties) SQLWindow FunctionsDENSE_RANKAggregation | SQL & Analytics | Easy | AmazonInstacartWalmart | — |
| Longest Consecutive Active-Day Streak (Gaps & Islands) SQLGaps and IslandsWindow FunctionsDate Arithmetic | SQL & Analytics | Medium | MetaDuolingoNetflix | — |
| Exact ROC-AUC & Average Precision (PR-AUC) From Scratch Python 3Evaluation MetricsROC-AUCPR-AUC | ML Scratch | Easy | GoogleStripeMeta | — |
| K-Means++ Clustering with Convergence & Empty-Cluster Recovery Python 3Unsupervised LearningK-Means++Clustering | ML Scratch | Medium | UberAirbnbAmazon | — |
| RMSNorm & LayerNorm From Scratch (PyTorch) Python 3PyTorchNormalizationRMSNorm | Deep Learning | Easy | AnthropicOpenAINVIDIA | — |
| LoRA Linear Adapter (Frozen Base, Zero-Init B & Weight Merge) Python 3PyTorchLoRAFine-Tuning | Deep Learning | Medium | OpenAIDatabricksHugging Face | — |
| A/B Experimentation Toolkit: Two-Proportion Z-Test, Power & SRM Detector Python 3A/B TestingHypothesis TestingPower Analysis | Stats | Easy | MetaAirbnbNetflix | — |
| CUPED Variance Reduction Estimator for Online Experiments Python 3CUPEDA/B TestingVariance Reduction | Stats | Medium | MicrosoftNetflixAirbnb | — |
| Numerically Stable Sigmoid & Analytical Derivative Python 3ActivationsNumerical StabilityGradients | ML Scratch | Easy | GoogleMetaOpenAI | — |
| Numerically Stable Softmax (1D & Batched ND) Python 3SoftmaxNumerical StabilityBroadcasting | ML Scratch | Easy | OpenAIAnthropicGoogle | — |
| Numerically Stable Log-Softmax (Log-Sum-Exp Trick) Python 3Log-Sum-ExpNumerical StabilityCross-Entropy | ML Scratch | Easy | AnthropicMetaGoogle DeepMind | — |
| ReLU, Leaky ReLU & Tanh-Approximated GELU + Gradients Python 3ActivationsGELUBackpropagation | ML Scratch | Easy | OpenAINVIDIAMeta | — |
| SiLU (Swish) & SwiGLU Gated Feed-Forward Layer Python 3SwiGLUSiLUTransformers | ML Scratch | Easy | MetaGoogle DeepMindAnthropic | — |
| MSE, MAE & Huber Loss with Analytical Gradients Python 3Regression LossesHuber LossOutliers | ML Scratch | Easy | UberAirbnbDoorDash | — |
| Binary Cross-Entropy With Logits (Numerically Stable) Python 3BCE LossLogitsNumerical Stability | ML Scratch | Easy | StripeMetaGoogle | — |
| Multiclass Cross-Entropy Loss From Logits + Gradient Python 3Cross-EntropyLog-SoftmaxGradients | ML Scratch | Easy | OpenAIGoogleApple | — |
| Shannon Entropy, Cross-Entropy & KL Divergence Python 3Information TheoryKL DivergenceRLHF | ML Scratch | Easy | AnthropicGoogle DeepMindMeta | — |
| L1, L2 & ElasticNet Regularization Penalty + Subgradient Python 3RegularizationElasticNetSubgradients | ML Scratch | Easy | GoogleAmazonStripe | — |
| Vectorized Pairwise Euclidean & Manhattan Distance Matrices Python 3VectorizationBroadcastingDistance Metrics | ML Scratch | Easy | UberMetaAmazon | — |
| Batched Cosine Similarity Matrix (Zero-Norm Safe) Python 3EmbeddingsCosine SimilarityRAG | ML Scratch | Easy | OpenAICoherePinterest | — |
| StandardScaler (fit / transform / inverse_transform) With Constant-Column Guard Python 3PreprocessingData LeakageScaling | ML Scratch | Easy | AmazonAirbnbDoorDash | — |
| Min-Max & Robust IQR Feature Scalers From Scratch Python 3Feature ScalingIQROutliers | ML Scratch | Easy | StripeUberNetflix | — |
| One-Hot Encoder With Unseen Category Handling Python 3Feature EngineeringCategorical EncodingNumPy | ML Scratch | Easy | MetaAmazonInstacart | — |
| Ordinary Least Squares (OLS) via SVD Pseudoinverse Python 3Linear RegressionOLSSVD | ML Scratch | Easy | AmazonGoogleDoorDash | — |
| Ridge Regression Closed-Form (Unpenalized Intercept) Python 3Ridge RegressionL2 RegularizationLinear Algebra | ML Scratch | Easy | GoogleAmazonApple | — |
| Batch Gradient Descent for Linear Regression With Early Stopping Python 3Gradient DescentConvergenceLinear Regression | ML Scratch | Easy | MetaUberSnap | — |
| SGD Optimizer With Classical & Nesterov Momentum Python 3OptimizersMomentumNesterov | ML Scratch | Easy | MetaNVIDIAOpenAI | — |
| Adam Optimizer With Bias-Corrected Moments (Step-by-Step) Python 3AdamOptimizersBias Correction | ML Scratch | Easy | OpenAIAnthropicGoogle DeepMind | — |
| Vectorized K-Nearest Neighbors (KNN) Classifier With Tie-Break Python 3KNNVectorizationTie-Breaking | ML Scratch | Easy | MetaAppleAmazon | — |
| Gaussian Naive Bayes Classifier (Log-Likelihood Stability) Python 3Naive BayesProbabilistic ModelsLog-Likelihood | ML Scratch | Easy | GoogleLinkedInAmazon | — |
| Binary Perceptron Learning Algorithm From Scratch Python 3PerceptronLinear ClassifiersOnline Learning | ML Scratch | Easy | AppleAmazonMicrosoft | — |
| Optimal 1-Split Decision Stump (Gini Impurity Gain) Python 3Decision TreesGini ImpurityTree Splits | ML Scratch | Easy | MetaDoorDashStripe | — |
| Linear SVM With Soft-Margin Hinge Loss & L2 Subgradient Python 3SVMHinge LossSubgradients | ML Scratch | Easy | GoogleSnapAmazon | — |
| Binary Confusion Matrix, Precision, Recall, Specificity & F1 Score Python 3Classification MetricsF1 ScoreZero Division | ML Scratch | Easy | StripeMetaAmazon | — |
| Multiclass Macro, Micro & Weighted F1 Score Python 3Multiclass MetricsMacro F1Micro F1 | ML Scratch | Easy | GoogleLinkedInAirbnb | — |
| Regression Metrics: RMSE, R², Adjusted R² & Safe MAPE Python 3Regression MetricsAdjusted R2MAPE | ML Scratch | Easy | AirbnbUberDoorDash | — |
| Deterministic Stratified Train/Test Split From Scratch Python 3Data SplittingStratificationClass Imbalance | ML Scratch | Easy | MetaStripeGoogle | — |
| Deterministic K-Fold & Stratified K-Fold CV Splitter Python 3Cross-ValidationK-FoldStratification | ML Scratch | Easy | GoogleAmazonNetflix | — |
| Sample Covariance & Pearson Correlation Matrix From Scratch Python 3Linear AlgebraCovariancePearson Correlation | ML Scratch | Easy | Jane StreetGoogleMeta | — |
| Principal Component Analysis (PCA) via SVD & Explained Variance Python 3PCASVDDimensionality Reduction | ML Scratch | Easy | GoogleNVIDIAAmazon | — |
| Dominant Eigenvalue & Eigenvector via Power Iteration Python 3EigenvaluesPower IterationPageRank | ML Scratch | Easy | GoogleNVIDIAGoogle DeepMind | — |
| Linear Warmup + Cosine Annealing LR Scheduler Python 3LLM TrainingLR ScheduleCosine Annealing | ML Scratch | Easy | OpenAIAnthropicMeta | — |
| Inverted Dropout Forward & Backward Pass (Train vs. Eval) Python 3DropoutRegularizationBackpropagation | ML Scratch | Easy | MetaOpenAIGoogle | — |
| Bayes' Theorem & Sequential Medical/Fraud Test Updating Python 3Bayes TheoremBase-Rate FallacyConditional Probability | Probability | Easy | MetaGoogleStripe | — |
| Generalized n-Door Monty Hall (Host Opens k Goat Doors) Python 3Monty HallConditional ProbabilityBayes Theorem | Probability | Easy | GoogleMetaJane Street | — |
| Two-Children Paradox (Generalized to Birth-Attribute Cardinality m) Python 3Conditional ProbabilitySample Space CountingParadoxes | Probability | Easy | GoogleCitadelTwo Sigma | — |
| Multi-Source Bayes Attribution & Law of Total Probability Python 3Bayes TheoremLaw of Total ProbabilityNumPy | Probability | Easy | AmazonUberLinkedIn | — |
| Coin-in-a-Bag Bayesian Posterior & Next-Flip Prediction Python 3Bayes TheoremPosterior PredictiveLog-Sum-Exp | Probability | Easy | Jane StreetMetaCitadel | — |
| Birthday Paradox: Exact Collision Probability & Threshold Group Size Python 3Birthday ParadoxHash CollisionsCombinatorics | Probability | Easy | GoogleAmazonStripe | — |
| Inclusion-Exclusion & Exact At-Least-k Independent Events (DP) Python 3Inclusion-ExclusionPoisson-BinomialDynamic Programming | Probability | Easy | MetaUberDoorDash | — |
| Overflow-Safe Binomial PMF, CDF & Upper Tail (Log-Gamma) Python 3Binomial DistributionLog-GammaNumerical Stability | Probability | Easy | MetaStripeAirbnb | — |
| Poisson Arrival Process: Rate Scaling, Merging & Conditional Binomial Split Python 3Poisson ProcessSuperpositionConditional Binomial | Probability | Easy | UberDoorDashAmazon | — |
| Geometric Waiting Time: Memorylessness & Truncated Expected Trials Python 3Geometric DistributionMemorylessnessTruncated Expectation | Probability | Easy | GoogleCitadelLinkedIn | — |
| Negative Binomial Distribution (Failures Before r-th Success) Python 3Negative BinomialLog-GammaDiscrete Distributions | Probability | Easy | MetaNetflixStripe | — |
| Hypergeometric Sampling Without Replacement (Quality Audit & Cards) Python 3HypergeometricSampling Without ReplacementFinite Population Correction | Probability | Easy | AmazonGoogleCitadel | — |
| Multinomial Log-PMF & Pairwise Count Covariance Matrix Python 3MultinomialCovarianceLog-Gamma | Probability | Easy | OpenAIGoogleMeta | — |
| Sock Drawer Problem: Expected Draws Until First Matching Pair Python 3CombinatoricsTail-Sum FormulaSampling Without Replacement | Probability | Easy | Jane StreetTwo SigmaAmazon | — |
| Exact Sum Distribution of n Fair s-Sided Dice (Convolution DP) Python 3ConvolutionDynamic ProgrammingDiscrete Distributions | Probability | Easy | Jane StreetCitadelMeta | — |
| Expected Maximum & Minimum of n i.i.d. Dice (Tail-Sum Formula) Python 3Order StatisticsTail-Sum FormulaExpected Value | Probability | Easy | Jane StreetTwo SigmaCitadel | — |
| Coupon Collector Problem: Exact Mean & Variance for k of n Coupons Python 3Coupon CollectorGeometric SumLinearity of Expectation | Probability | Easy | GoogleUberTwo Sigma | — |
| Hat-Check / Secret Santa Problem (Derangements & Exact k Matches) Python 3DerangementsFixed PointsInclusion-Exclusion | Probability | Easy | CitadelJane StreetGoogle | — |
| Linearity of Expectation: Expected Runs, Adjacent Matches & Triangles Python 3Linearity of ExpectationIndicatorsRandom Graphs | Probability | Easy | MetaGoogleLinkedIn | — |
| Law of Total Expectation & Total Variance (Mixture / Compound Models) Python 3Law of Total VarianceMixture ModelsCompound Distributions | Probability | Easy | StripeAirbnbCitadel | — |
| Variance of Linear Combinations & Portfolio Risk (w^T Sigma w) Python 3CovariancePortfolio VarianceLinear Combinations | Probability | Easy | Two SigmaCitadelStripe | — |
| Order Statistics of n i.i.d. Uniform(a, b) Variables Python 3Order StatisticsBeta DistributionContinuous Uniform | Probability | Easy | Jane StreetCitadelAmazon | — |
| Exponential Competing Risks: First Failure, Winner Probs & Expected All-Complete Python 3Exponential DistributionCompeting RisksMemorylessness | Probability | Easy | UberAmazonDoorDash | — |
| Gaussian PDF, CDF, Two-Tailed P-Value & Inverse Quantile (PPF) Python 3Normal DistributionError FunctionQuantile Inversion | Probability | Easy | MetaGoogleNetflix | — |
| Two Friends Meeting Problem (Asymmetric Wait Windows in [0, T]) Python 3Geometric ProbabilityContinuous UniformArea Integration | Probability | Easy | GoogleUberCitadel | — |
| Broken Stick Polygon Probability & Max-Piece Simplex Tail Python 3Geometric ProbabilitySimplexInclusion-Exclusion | Probability | Medium | Jane StreetCitadelGoogle | — |
| Generalized Drunk Passenger Airplane Problem (k Drunk, Passenger m) Python 3SymmetryRecurrenceConditional Probability | Probability | Medium | GoogleJane StreetTwo Sigma | — |
| Expected Coin Flips Until Any Target Pattern (KMP Markov Linear System) Python 3Markov ChainsMartingalesPattern Waiting Time | Probability | Medium | Jane StreetCitadelMeta | — |
| Gambler's Ruin: Fair & Biased Absorption Probability and Expected Duration Python 3Random WalkMartingalesDifference Equations | Probability | Medium | Jane StreetCitadelTwo Sigma | — |
| Optimal Dice Reroll Game (Dynamic Programming Fair Value & Threshold) Python 3Optimal StoppingDynamic ProgrammingBellman Equation | Probability | Medium | Jane StreetCitadelTwo Sigma | — |
| Bertrand's Ballot Theorem & Reflection Principle (Non-Negative Lattice Paths) Python 3Ballot TheoremReflection PrincipleCatalan Numbers | Probability | Medium | Two SigmaCitadelJane Street | — |
| Red/Black Deck Optimal Stopping Game (Jane Street / SIG Classic DP) Python 3Optimal StoppingDynamic ProgrammingSampling Without Replacement | Probability | Medium | Jane StreetCitadelTwo Sigma | — |
| Markov Chain Stationary Distribution & n-Step State Evolution Python 3Markov ChainsStationary DistributionLinear Algebra | Probability | Medium | GoogleUberTwo Sigma | — |
| Absorbing Markov Chain: Fundamental Matrix, Expected Steps & Absorption Probs Python 3Absorbing Markov ChainsFundamental MatrixLinear Systems | Probability | Medium | CitadelTwo SigmaMeta | — |
| Secretary Problem: Exact Win Probability & Optimal Stopping Cutoff r* Python 3Optimal StoppingSecretary ProblemHarmonic Sums | Probability | Medium | GoogleJane StreetMeta | — |
| Kelly Criterion: Optimal Bet Fraction & Expected Log-Wealth Growth Rate Python 3Kelly CriterionConvex OptimizationInformation Theory | Probability | Medium | Jane StreetCitadelTwo Sigma | — |
| Inspection (Bus Waiting Time) Paradox & Renewal Residual Lifetime Python 3Renewal TheoryInspection ParadoxSize-Biased Sampling | Probability | Medium | UberDoorDashGoogle | — |
| Expected Hitting & Commute Time on a Weighted Graph / Markov Chain Python 3Random Walks on GraphsHitting TimeFirst-Step Analysis | Probability | Medium | Two SigmaCitadelOpenAI | — |
| Galton-Watson Branching Process: Exact Extinction Probability Python 3Branching ProcessesGenerating FunctionsFixed-Point Iteration | Probability | Medium | MetaGoogleTwo Sigma | — |
| Beta-Binomial Conjugate Posterior & Exact Bayesian A/B Win Probability Python 3Bayesian A/B TestingBeta-BinomialConjugate Priors | Probability | Medium | MetaAirbnbStripe | — |
| Normal-Normal Conjugate Posterior & Predictive Uncertainty Python 3Bayesian InferenceConjugate PriorsPrecision Weighting | Probability | Medium | GoogleOpenAITwo Sigma | — |
| Multivariate Gaussian Conditioning (Schur Complement & Bivariate Regression) Python 3Multivariate NormalSchur ComplementConditional Distribution | Probability | Medium | CitadelTwo SigmaOpenAI | — |
| Gamma-Poisson Conjugate Posterior & Negative Binomial Predictive Python 3Gamma-PoissonConjugate PriorsPosterior Predictive | Probability | Medium | UberStripeAmazon | — |
| Algorithm R & Weighted A-Res Reservoir Sampling Over Unknown Streams Python 3Reservoir SamplingStreaming AlgorithmsRandomized Algorithms | Probability | Medium | GoogleMetaOpenAI | — |
| Importance Sampling Estimator & Kish Effective Sample Size (Log-Space) Python 3Importance SamplingRLHF / Off-Policy EvalEffective Sample Size | Probability | Medium | OpenAIAnthropicCitadel | — |
| Inverse Transform (Truncated Exp) & Rejection Sampling (Half-Normal) Python 3Inverse Transform SamplingRejection SamplingMonte Carlo | Probability | Medium | OpenAIAnthropicTwo Sigma | — |
| Multi-Armed Bandits: UCB1 & Bayesian Thompson Sampling (Exploration vs. Exploitation) Python 3Multi-Armed BanditsThompson SamplingUCB1 | Probability | Medium | MetaNetflixDoorDash | — |
| Concentration Inequalities: Chebyshev, Hoeffding & CLT Sample Size Bounds Python 3Hoeffding InequalityChebyshev InequalityCentral Limit Theorem | Probability | Medium | GoogleStripeOpenAI | — |
| Log-Normal Distribution & Multi-Period Asset Return Probabilities Python 3Log-NormalStochastic FinanceJensen's Inequality | Probability | Medium | CitadelTwo SigmaStripe | — |
| Pólya's Urn: Exchangeability, Sequence Probability & Martingale Invariance Python 3Polya UrnExchangeabilityMartingales | Probability | Medium | Jane StreetCitadelGoogle DeepMind | — |
| Customers Who Never Placed a Completed Order SQLLEFT JOINAnti-JoinFiltering | SQL & Analytics | Easy | AmazonDoorDashMeta | — |
| Find Duplicate User Emails (Case-Insensitive & Trimmed) SQLGROUP BYHAVINGString Normalization | SQL & Analytics | Easy | GoogleLinkedInAmazon | — |
| Customers Not Referred by ID 2 (SQL Three-Valued NULL Trap) SQLNULL HandlingThree-Valued LogicFiltering | SQL & Analytics | Easy | MetaAmazonStripe | — |
| Second Highest Distinct Salary (Return NULL If None) SQLSubqueriesDISTINCTNULL Handling | SQL & Analytics | Easy | AmazonGoogleApple | — |
| Signed-Up Users With Zero Events in Target Month SQLLEFT JOINDate FilteringRetention | SQL & Analytics | Easy | MetaLinkedInUber | — |
| Latest Login Timestamp per User in 2024 SQLDate RangesMAXGROUP BY | SQL & Analytics | Easy | MetaSpotifyNetflix | — |
| Deduplicate Webhook Events Keeping Earliest Arrival SQLDeduplicationROW_NUMBERWindow Functions | SQL & Analytics | Easy | UberStripeAirbnb | — |
| Daily Active Users (DAU) & Events per Active User SQLDAUCOUNT DISTINCTGROUP BY | SQL & Analytics | Easy | MetaGoogleNetflix | — |
| Average Order Value (AOV) & Gross Revenue by Country SQLGROUP BYAggregationRounding | SQL & Analytics | Easy | StripeAmazonAirbnb | — |
| Repeat Buyers Purchasing on At Least 2 Distinct Days SQLHAVINGCOUNT DISTINCTRetention | SQL & Analytics | Easy | AmazonInstacartDoorDash | — |
| Courses With At Least 5 Distinct Enrolled Students SQLGROUP BYHAVINGCOUNT DISTINCT | SQL & Analytics | Easy | LinkedInGoogleAmazon | — |
| Merchants Exceeding $1,000 Net Revenue (Sales Minus Refunds) SQLCASE WHENNet RevenueHAVING | SQL & Analytics | Easy | StripeAmazonShopify | — |
| Warehouse Inventory Value & Out-of-Stock SKU Count SQLCOALESCEConditional AggregationNULL Handling | SQL & Analytics | Easy | AmazonInstacartDoorDash | — |
| Revenue & Order Share Percentage by Day of Week SQLDate FunctionsEXTRACTWindow Functions | SQL & Analytics | Easy | UberDoorDashAirbnb | — |
| Distinct Subjects & Departments Taught per Instructor SQLCOUNT DISTINCTGROUP BYMulti-Metric Aggregation | SQL & Analytics | Easy | LinkedInGoogleMicrosoft | — |
| Employees Earning Strictly More Than Their Direct Manager SQLSelf-JoinINNER JOINFiltering | SQL & Analytics | Easy | AmazonMetaMicrosoft | — |
| Department Headcount & Avg Salary (Including Empty Departments) SQLLEFT JOINCOUNT(col) vs COUNT(*)COALESCE | SQL & Analytics | Easy | GoogleLinkedInApple | — |
| Catalog Products Never Sold in Any Order SQLAnti-JoinNOT EXISTSLEFT JOIN | SQL & Analytics | Easy | AmazonShopifyInstacart | — |
| Days Warmer Than the Immediately Previous Calendar Day SQLSelf-JoinDate ArithmeticCalendar Gaps | SQL & Analytics | Easy | GoogleUberAirbnb | — |
| Count Mutual Connections Between User Pairs (Self-Join) SQLSelf-JoinSocial GraphPair Ordering | SQL & Analytics | Easy | MetaLinkedInUber | — |
| Driver Trip Offer Acceptance Rate (Including Zero-Offer Drivers) SQLLEFT JOINConditional AggregationDivision by Zero | SQL & Analytics | Easy | UberDoorDashLyft | — |
| Paid Orders Missing Shipment or Shipped More Than 3 Days Late SQLLEFT JOINDate DifferenceCASE WHEN | SQL & Analytics | Easy | AmazonDoorDashShopify | — |
| Category Revenue & Store Share % (Including Zero-Sale Categories) SQLLEFT JOINWindow FunctionsCOALESCE | SQL & Analytics | Easy | StripeAmazonInstacart | — |
| Ad Campaign Click-Through Rate (CTR %) With Zero-Impression Guard SQLCTRConditional AggregationDivision by Zero | SQL & Analytics | Easy | MetaGoogleTikTok | — |
| A/B Experiment Conversion Rate per Assigned User SQLA/B TestingLEFT JOINCOUNT DISTINCT | SQL & Analytics | Easy | MetaAirbnbNetflix | — |
| Monthly Payment Approval Rate & Approved Volume Pivot SQLCASE WHEN PivotMonthly AggregationPayments KPIs | SQL & Analytics | Easy | StripePayPalRobinhood | — |
| User Email Confirmation Rate (0.00 If No Confirmation Requested) SQLLEFT JOINAVG CASE WHENNULL Handling | SQL & Analytics | Easy | MetaLinkedInDropbox | — |
| Immediate vs. Scheduled Delivery On-Time Rate by City SQLConditional AggregationDate ComparisonLogistics KPIs | SQL & Analytics | Easy | DoorDashUberInstacart | — |
| Customer Spend Tier Segmentation (VIP / Regular / Low) SQLCASE WHENCTECustomer Segmentation | SQL & Analytics | Easy | AmazonStripeAirbnb | — |
| Support Ticket SLA Breach Rate by Priority Level SQLCASE WHENSLA MetricsConditional Aggregation | SQL & Analytics | Easy | StripeAmazonDoorDash | — |
| Monthly Active Users Split Into Free vs. Paid & Paid Share % SQLJOINCOUNT DISTINCTFreemium KPIs | SQL & Analytics | Easy | SpotifyNetflixDropbox | — |
| Monthly Revenue & Month-over-Month (MoM) Growth % SQLLAGWindow FunctionsMoM Growth | SQL & Analytics | Easy | StripeAirbnbAmazon | — |
| First Completed Order Date & Initial Basket Value per Customer SQLROW_NUMBERWindow FunctionsCustomer Acquisition | SQL & Analytics | Easy | AmazonInstacartDoorDash | — |
| Average Days From Signup to First Purchase by Acquisition Channel SQLDate ArithmeticMINJOIN | SQL & Analytics | Easy | MetaUberAirbnb | — |
| Active Subscriptions & MRR on a Snapshot Date (NULL End-Date Trap) SQLDate RangesNULL HandlingSaaS MRR | SQL & Analytics | Easy | NetflixSpotifyStripe | — |
| Weekend vs. Weekday Order Volume & Average Basket Size SQLEXTRACTCASE WHENGROUP BY | SQL & Analytics | Easy | UberDoorDashAirbnb | — |
| Same-Day Signup-to-Purchase Conversion Rate by Signup Date SQLLEFT JOINDate MatchingCOUNT DISTINCT | SQL & Analytics | Easy | MetaStripeRobinhood | — |
| Q1 Buyers Who Churned in April (Zero Orders in Next 30 Days) SQLCohort ChurnCTEAnti-Join | SQL & Analytics | Easy | NetflixSpotifyAmazon | — |
| Highest Paid Employee(s) in Each Department (With Ties) SQLWindow FunctionsRANKDENSE_RANK | SQL & Analytics | Easy | AmazonGoogleMeta | — |
| Cumulative Running Total of Daily Revenue SQLWindow FunctionsRunning TotalSUM OVER | SQL & Analytics | Easy | StripeAmazonRobinhood | — |
| 3-Day Rolling Average of Daily Signups (Window Frame) SQLWindow FunctionsMoving AverageROWS BETWEEN | SQL & Analytics | Easy | MetaUberNetflix | — |
| Third Completed Transaction per User (Uber Interview Classic) SQLROW_NUMBERWindow FunctionsFiltering | SQL & Analytics | Easy | UberStripeAmazon | — |
| Employees Earning Strictly Above Their Department Average SQLWindow FunctionsAVG OVERPartitioning | SQL & Analytics | Easy | GoogleLinkedInApple | — |
| Days Elapsed Since Each Customer's Previous Order (LAG) SQLLAGWindow FunctionsDate Arithmetic | SQL & Analytics | Easy | InstacartDoorDashAmazon | — |
| Most Streamed Artist(s) per Country (Aggregate + RANK) SQLAggregationRANKWindow Functions | SQL & Analytics | Easy | SpotifyNetflixApple | — |
| ML RFM User Feature Rollup Table (Recency, Frequency, Monetary) SQLFeature EngineeringRFMLEFT JOIN | SQL & Analytics | Easy | MetaUberStripe | — |
| Fraud Dataset Class Imbalance Summary per Country (Excluding Unlabeled) SQLML Dataset AuditClass ImbalanceNULL Handling | SQL & Analytics | Easy | StripeRobinhoodAmazon | — |
| ML Feature Table Missingness (NULL Rate %) Audit Across Columns SQLUNION ALLData QualityNULL Handling | SQL & Analytics | Easy | GoogleAirbnbMeta | — |
| Flag Category-Level Z-Score Outlier Transactions (> Mean + 2 SD) SQLWindow FunctionsSTDDEV_POPAnomaly Detection | SQL & Analytics | Easy | StripeRobinhoodUber | — |
| Binary Classifier Confusion Matrix, Precision & Recall per Model Version SQLML EvaluationConfusion MatrixConditional Aggregation | SQL & Analytics | Easy | OpenAIMetaGoogle | — |
| Cosine Similarity Top-K Vector Retrieval Python 3EmbeddingsVector SearchCosine Similarity | GenAI | Easy | OpenAIAnthropicPinecone | — |
| LLM Temperature Scaling & Top-K Softmax Python 3LLM DecodingTemperatureTop-K | GenAI | Easy | OpenAIAnthropicDeepMind | — |
| Top-P (Nucleus) Sampling Probability Filter Python 3LLM DecodingNucleus SamplingTop-P | GenAI | Easy | OpenAIAnthropicCohere | 100.0% |
| Word-Based Sliding Window RAG Chunker Python 3RAGChunkingText Processing | GenAI | Easy | LangChainOpenAILlamaIndex | — |
| RAG Retrieval Metrics: Precision@K, Recall@K & MRR Python 3RAG EvaluationInformation RetrievalMRR | GenAI | Easy | GoogleOpenAIPerplexity | — |
| Sample Mean, Unbiased Variance & Standard Deviation Python 3Descriptive StatisticsBessel CorrectionNumerical Stability | Stats | Easy | MetaGoogleUber | — |
| Pearson Correlation Coefficient From Scratch Python 3CorrelationCovarianceLinear Association | Stats | Easy | GoogleMetaNetflix | — |
| Z-Score Standardization & Outlier Detection Python 3Z-ScoreOutlier DetectionStandardization | Stats | Easy | AmazonDoorDashAirbnb | — |
| Two-Sample Welch's t-Statistic & Degrees of Freedom Python 3A/B TestingWelch t-TestHypothesis Testing | Stats | Easy | MetaNetflixBooking.com | — |
| Confidence Interval for a Sample Mean (Normal Approx) Python 3Confidence IntervalsStandard ErrorInference | Stats | Easy | GoogleStripeAirbnb | — |
| ReLU, LeakyReLU & Exact GELU Activations (PyTorch) Python 3PyTorchActivationsGELU | Deep Learning | Easy | NVIDIAMetaOpenAI | — |
| Linear Layer From Scratch (PyTorch nn.Module) Python 3PyTorchnn.ModuleLinear Layer | Deep Learning | Easy | MetaNVIDIAOpenAI | — |
| Numerically Stable Cross-Entropy Loss (PyTorch) Python 3PyTorchLoss FunctionsLogSumExp | Deep Learning | Easy | OpenAIAnthropicMeta | — |
| Inverted Dropout Layer (Train vs Eval Mode, PyTorch) Python 3PyTorchRegularizationDropout | Deep Learning | Easy | MetaGoogleNVIDIA | — |
| Single-Head Scaled Dot-Product Attention (PyTorch) Python 3PyTorchTransformersAttention | Deep Learning | Easy | OpenAIAnthropicGoogle DeepMind | — |
| BPE Tokenizer: Most Frequent Adjacent Token Pair Python 3TokenizationBPELLM Foundations | GenAI | Easy | OpenAIAnthropicMeta | — |
| BPE Tokenizer: Apply Single Pair Merge Step Python 3TokenizationBPEString Processing | GenAI | Easy | OpenAIAnthropicHuggingFace | — |
| LLM Perplexity & Masked NLL From Token Log-Probs Python 3EvaluationPerplexityLanguage Modeling | GenAI | Easy | OpenAIAnthropicMeta | — |
| LLM Repetition Penalty Logit Processor Python 3LLM DecodingLogits ProcessorRepetition Penalty | GenAI | Easy | HuggingFaceMetavLLM | — |
| Batch L2 Embedding Normalization & Pairwise Similarity Python 3EmbeddingsVector NormalizationMatrix Ops | GenAI | Easy | PineconeOpenAICohere | — |
| BM25 Lexical Relevance Scorer for Hybrid RAG Python 3Hybrid RAGBM25Sparse Retrieval | GenAI | Easy | ElasticGooglePerplexity | — |
| Maximal Marginal Relevance (MMR) Diversity Reranking Python 3RAGMMRDiversity Reranking | GenAI | Easy | LangChainPineconeOpenAI | — |
| Greedy Token-Budget RAG Context Window Packer Python 3Context WindowRAGToken Budget | GenAI | Easy | OpenAIAnthropicPerplexity | — |
| Transformer KV-Cache Memory Estimator (MB) Python 3LLM InferenceKV CacheGQA | GenAI | Easy | NVIDIAOpenAIAnthropic | — |
| Safe Prompt Template Renderer (JSON-Brace Safe) Python 3Prompt EngineeringTemplatingRegex | GenAI | Easy | LangChainOpenAIAnthropic | — |
| Structured LLM Output JSON Extractor & Validator Python 3Structured OutputsJSON ParsingGuardrails | GenAI | Easy | OpenAIAnthropicStripe | — |
| ROUGE-1 Unigram Precision, Recall & F1 Python 3LLM EvaluationROUGESummarization | GenAI | Easy | GoogleMetaCohere | — |
| NDCG@K for RAG Reranker Evaluation Python 3RAG EvaluationRerankingNDCG | GenAI | Easy | GoogleCoherePerplexity | — |
| Semantic LLM Prompt Cache Lookup Python 3Semantic CacheEmbeddingsLLM Serving | GenAI | Easy | OpenAIRedisCloudflare | — |
| Sentence-Aware RAG Chunker With Max-Word Budget Python 3RAGChunkingNLP | GenAI | Easy | LlamaIndexLangChainOpenAI | — |
| Token Embedding Layer From Scratch (PyTorch) Python 3PyTorchEmbeddingsnn.Module | Deep Learning | Easy | OpenAIMetaGoogle | — |
| SwiGLU Feed-Forward Network (Llama MLP, PyTorch) Python 3PyTorchSwiGLUTransformers | Deep Learning | Easy | MetaMistralAnthropic | — |
| Smooth L1 (Huber) Regression Loss (PyTorch) Python 3PyTorchLoss FunctionsRegression | Deep Learning | Easy | TeslaWaymoNVIDIA | — |
| Numerically Stable BCE-With-Logits Loss (PyTorch) Python 3PyTorchLoss FunctionsNumerical Stability | Deep Learning | Easy | MetaGoogleOpenAI | — |
| Global L2 Gradient Norm Clipping (PyTorch) Python 3PyTorchOptimizationTraining Stability | Deep Learning | Easy | OpenAIAnthropicMeta | — |
| Sinusoidal Positional Encoding (PyTorch) Python 3PyTorchTransformersPositional Encoding | Deep Learning | Easy | GoogleOpenAIMeta | — |
| Linear Warmup + Cosine Annealing LR Schedule Python 3OptimizationLR ScheduleLLM Pretraining | Deep Learning | Easy | OpenAIAnthropicMeta | — |
| Cross-Entropy Loss With Label Smoothing (PyTorch) Python 3PyTorchLoss FunctionsRegularization | Deep Learning | Easy | GoogleMetaOpenAI | — |
| BatchNorm1d From Scratch (Train/Eval Running Stats) Python 3PyTorchBatchNormNormalization | Deep Learning | Medium | MetaGoogleNVIDIA | — |
| GroupNorm From Scratch (PyTorch) Python 3PyTorchGroupNormNormalization | Deep Learning | Medium | MetaNVIDIAStability AI | — |
| RoPE: Rotary Positional Embeddings (PyTorch) Python 3PyTorchRoPETransformers | Deep Learning | Medium | MetaOpenAIAnthropic | — |
| Grouped-Query Attention (GQA) Forward (PyTorch) Python 3PyTorchGQATransformers | Deep Learning | Medium | MetaMistralGoogle | — |
| 1D Convolution Forward From Scratch (PyTorch) Python 3PyTorchConvolutionUnfold | Deep Learning | Medium | NVIDIATeslaApple | — |
| 2D Max Pooling From Scratch (PyTorch) Python 3PyTorchPoolingVision | Deep Learning | Medium | NVIDIATeslaMeta | — |
| AdamW Optimizer Step (Decoupled Weight Decay) Python 3PyTorchOptimizersAdamW | Deep Learning | Medium | OpenAIAnthropicMeta | — |
| Binary Focal Loss From Logits (PyTorch) Python 3PyTorchLoss FunctionsClass Imbalance | Deep Learning | Medium | MetaTeslaStripe | — |
| CLIP Symmetric InfoNCE Contrastive Loss (PyTorch) Python 3PyTorchContrastive LearningCLIP | Deep Learning | Medium | OpenAIGoogle DeepMindMeta | — |
| Pre-Norm Causal Transformer Block (PyTorch) Python 3PyTorchTransformersPre-Norm | Deep Learning | Medium | OpenAIAnthropicMeta | — |
| Incremental KV-Cache Causal Attention Decoding (PyTorch) Python 3PyTorchKV CacheLLM Inference | Deep Learning | Hard | OpenAIAnthropicNVIDIA | — |
| Sparse Mixture-of-Experts (MoE) Top-K Router Layer Python 3PyTorchMoERouting | Deep Learning | Hard | MistralDeepSeekOpenAI | — |
| Filter & Sort High-Value Completed Orders Python 3PandasFilteringSorting | Data Ops | Easy | AmazonShopifyUber | — |
| Deduplicate User Profiles Keeping Latest Update Python 3PandasDeduplicationTimestamps | Data Ops | Easy | StripeMetaSnowflake | — |
| Impute Missing Values with Group Median Python 3PandasMissing DataGroupBy Transform | Data Ops | Easy | AirbnbDoorDashMeta | — |
| Clean Messy Emails & Extract Domains Python 3PandasString OperationsData Cleaning | Data Ops | Easy | HubSpotSalesforceLinkedIn | — |
| Extract Calendar Features from Timestamps Python 3PandasDatetimeFeature Engineering | Data Ops | Easy | UberLyftBooking | — |
| GroupBy Multi-Metric Revenue Summary Python 3PandasGroupByAggregation | Data Ops | Easy | AmazonInstacartWalmart | — |
| Left Join Customer Spend with Zero-Fill Python 3PandasMergeLeft Join | Data Ops | Easy | ShopifyAmazonMeta | — |
| Anti-Join: Find Users With Zero Events Python 3PandasAnti-JoinFiltering | Data Ops | Easy | NetflixSpotifyMeta | — |
| Pivot Monthly Sales by Category Python 3PandasPivot TableReshaping | Data Ops | Easy | AmazonTargetDatabricks | — |
| Unpivot (Melt) Wide Quarterly Metrics to Long Format Python 3PandasMeltReshaping | Data Ops | Easy | GoogleMicrosoftSnowflake | — |
| Explode Comma-Separated Tags & Count Frequencies Python 3PandasExplodeString Operations | Data Ops | Easy | NetflixPinterestYouTube | — |
| Top-N Highest-Revenue Products per Category Python 3PandasGroupByTop-N | Data Ops | Easy | AmazonInstacartDoorDash | — |
| Cumulative Spend Running Total per Customer Python 3PandasWindow FunctionsCumsum | Data Ops | Easy | StripeSquareAmazon | — |
| Rolling Window Moving Average of Daily Revenue Python 3PandasRolling WindowTime Series | Data Ops | Easy | UberAirbnbMeta | — |
| Month-over-Month Revenue Growth Rate Python 3PandasTime SeriesShift | Data Ops | Easy | StripeShopifyGoldman Sachs | — |
| Time Gap in Minutes Since Previous Event per User Python 3PandasDatetimeGroupBy Diff | Data Ops | Easy | UberMetaTikTok | — |
| Bin Numeric Ages into Demographic Tiers Python 3PandasBinningFeature Engineering | Data Ops | Easy | MetaLinkedInSpotify | — |
| Assign Percentile Ranks & Quartile Buckets Python 3PandasRankingQuantiles | Data Ops | Easy | RobinhoodStripeCapital One | — |
| Vectorized Multi-Condition Customer Tiering Python 3PandasVectorizationnp.select | Data Ops | Easy | AmazonDoorDashShopify | — |
| Within-Group Z-Score Standardization Python 3PandasGroupBy TransformNormalization | Data Ops | Easy | GoogleMetaTwo Sigma | — |
| Clip (Winsorize) Outliers Using IQR Bounds Python 3PandasOutliersData Cleaning | Data Ops | Easy | UberAirbnbStripe | — |
| One-Hot Encode Top-K Categories with Other Bucket Python 3PandasFeature EngineeringOne-Hot Encoding | Data Ops | Easy | MetaNetflixDoorDash | — |
| Forward-Fill Missing Sensor Readings per Device Python 3PandasTime SeriesMissing Data | Data Ops | Easy | TeslaWaymoDatadog | — |
| Conversion Rate Matrix by Channel & Device Python 3PandasCrosstabAnalytics | Data Ops | Easy | GoogleMetaBooking | — |
| Revenue Share of Region & Share of Grand Total Python 3PandasGroupBy TransformAnalytics | Data Ops | Easy | WalmartAmazonMcKinsey | — |
| Flatten Nested Dict/JSON Payload Column Python 3PandasJSONData Cleaning | Data Ops | Easy | StripeDatadogSegment | — |
| Drop Features Exceeding Missingness Threshold Python 3PandasData CleaningMissing Data | Data Ops | Easy | AirbnbCapital OneMeta | — |
| Vectorized Weighted Average per Group Python 3PandasGroupByAggregation | Data Ops | Easy | AmazonGoogleTwo Sigma | — |
| Concatenate Heterogeneous DataFrames with Schema Alignment Python 3PandasConcatSchema Alignment | Data Ops | Easy | SnowflakeDatabricksAirbnb | — |
| Flag Shared Devices Used by Multiple Accounts Python 3PandasFraud DetectionGroupBy Transform | Data Ops | Easy | StripePayPalUber | — |
| Median, Quartiles (Q1/Q3) & Interquartile Range Python 3Descriptive StatisticsQuantilesRobust Statistics | Stats | Easy | MetaGoogleUber | — |
| Weighted Mean & Weighted Standard Deviation Python 3Descriptive StatisticsWeighted Statistics | Stats | Easy | Two SigmaGoogleAmazon | — |
| Trimmed Mean & Winsorized Mean Python 3Robust StatisticsOutliers | Stats | Easy | AirbnbUberMeta | — |
| Median Absolute Deviation (MAD) & Robust Scale Python 3Robust StatisticsAnomaly Detection | Stats | Easy | DatadogUberNetflix | — |
| Spearman Rank Correlation (with Tie Handling) Python 3CorrelationNon-ParametricRanking | Stats | Easy | GoogleNetflixSpotify | — |
| Sample Skewness & Excess Kurtosis Python 3Descriptive StatisticsMoments | Stats | Easy | Two SigmaCitadelGoldman Sachs | — |
| One-Sample Z-Test Statistic & Two-Sided p-Value Python 3Hypothesis TestingZ-TestP-Value | Stats | Easy | MetaGoogleUber | — |
| Two-Proportion Z-Test for A/B Conversion Lift Python 3A/B TestingHypothesis TestingProportions | Stats | Easy | MetaAirbnbBooking | — |
| Wilson Score Confidence Interval for Proportions Python 3Confidence IntervalsRankingProportions | Stats | Easy | RedditAmazonYelp | — |
| Chi-Square Goodness-of-Fit Statistic (SRM Check) Python 3A/B TestingChi-SquareExperimentation | Stats | Easy | MicrosoftMetaBooking | — |
| Chi-Square Test of Independence for a 2x2 Table Python 3Hypothesis TestingChi-SquareContingency Tables | Stats | Easy | MetaGoogleLinkedIn | — |
| Cohen's d Standardized Effect Size Python 3Effect SizeA/B Testing | Stats | Easy | MetaNetflixSpotify | — |
| Multiple Testing Correction: Bonferroni & Benjamini-Hochberg Python 3A/B TestingMultiple TestingFDR | Stats | Easy | NetflixAirbnbGoogle | — |
| Non-Parametric Bootstrap Confidence Interval for Mean Python 3ResamplingBootstrapConfidence Intervals | Stats | Easy | UberAirbnbDoorDash | — |
| A/B Test Minimum Sample Size per Variant (Proportions) Python 3A/B TestingPower AnalysisExperiment Design | Stats | Easy | MetaBookingUber | — |
| Safe Tool Call Dispatcher Python 3Tool CallingError HandlingAgent Runtime | Agentic AI | Easy | OpenAIAnthropicLangChain | — |
| Basic ReAct Tool-Calling Loop Python 3ReActTool CallingAgent Loop | Agentic AI | Easy | OpenAIAnthropicGoogle DeepMind | — |
| Multi-Tool Batch Turn Executor Python 3Parallel Tool CallsTool CallingAgent Runtime | Agentic AI | Easy | OpenAIAnthropicPerplexity | — |
| Tool Execution with Retry & Error Recovery Python 3RetriesFault ToleranceAgent Runtime | Agentic AI | Easy | AnthropicOpenAIStripe | — |
| Token-Budget Sliding Window Memory Python 3Context WindowMemory ManagementAgent State | Agentic AI | Easy | OpenAIAnthropicCohere | — |
| Multi-Agent Intent Router & Specialist Dispatch Python 3RoutingMulti-AgentFallback | Agentic AI | Easy | OpenAIIntercomZendesk | — |
| Infinite Tool-Loop Guardrail Detector Python 3GuardrailsLoop DetectionAgent Safety | Agentic AI | Easy | AnthropicOpenAICursor | — |
| Human-in-the-Loop (HITL) Approval Gate Python 3Human-in-the-LoopSafetyGuardrails | Agentic AI | Easy | AnthropicOpenAISalesforce | — |
| Structured JSON Output Validator & Self-Repair Loop Python 3Structured OutputsSelf-ReflectionValidation | Agentic AI | Easy | OpenAIAnthropicInstructor | — |
| Plan-and-Execute Sequential Agent Python 3Plan-and-ExecuteOrchestrationMulti-Step Agents | Agentic AI | Easy | Google DeepMindOpenAILangGraph | — |