Find your next interview question

Browse 530 worked guides. Search a topic or narrow the list by interview track.

530 guides

01

Design a video recommendation system

Objectives, data, retrieval, ranking, and production trade-offs.

12 min read
02

Fraud Detection System Design: Models, Decisions and Review

Design payment fraud detection with time-correct features, delayed labels, calibrated decisions and bounded review queues. Includes capacity and failure examples.

10 min read
03

Search Ranking System Design: Retrieval, Ranking and Evaluation

Design hybrid search ranking with lexical and semantic retrieval, exact-match handling, NDCG evaluation and deadline-aware fallbacks. Includes worked candidate budgets.

10 min read
04

How do you know a recommendation is good?

Worked examples for retrieval, ranking, and product evaluation.

8 min read
05

Data leakage: when a model knows too much

Point-in-time features, preprocessing boundaries, and delayed labels.

6 min read
06

Class imbalance and decision thresholds

Precision, recall, calibration, sampling, and action thresholds.

7 min read
07

Overfitting, regularization, and early stopping

Learning curves, L1 and L2, validation discipline, and model selection.

6 min read
08

Design a distributed rate limiter

Token buckets, atomic decisions, hot keys, and regional budgets.

10 min read
09

Design an ad-click prediction system

Define the impression, score candidates efficiently, and keep probability calibration honest.

7 min read
10

Design a spam detection system

Build a recoverable message policy with reliable labels and a plan for changing campaigns.

7 min read
11

Design a document question-answering system

Retrieve authorized evidence, generate supported answers, and evaluate what citations actually prove.

7 min read
12

Logistic regression, from score to decision

Understand the sigmoid, log loss, coefficients, and the difference between probability and action.

5 min read
13

Gradient descent and training diagnostics

Calculate an update, compare step sizes, and diagnose a training run before changing the model.

5 min read
14

The bias–variance trade-off

State the assumptions, work through the decomposition, and connect it to model choices.

5 min read
15

Decision trees, random forests, and boosting

Follow a split and a boosting update, then compare the practical costs of tree ensembles.

5 min read
16

Embeddings and similarity search

Connect learned geometry to similarity functions, index recall, and model versioning.

5 min read
17

Choose the right validation strategy

Match splits to deployment and separate model selection from final assessment.

5 min read
18

When can you trust a probability?

Distinguish ranking from calibration and fit a probability mapping without leakage.

5 min read
19

Model drift and production monitoring

Separate population changes from pipeline failures, then choose an evidence-based response.

5 min read
20

Design a URL shortener

Allocate codes safely, accelerate redirects, and make revocation and analytics explicit.

7 min read
21

Design a chat system

Separate durable messages from connections, and reason about ordering, retries, and offline delivery.

7 min read
22

Design a news feed

Compare push and pull fan-out, handle hot authors, and keep visibility checks current.

7 min read
23

Design a file-storage service

Coordinate resumable uploads, metadata, versions, and revocable access.

7 min read
24

Design a web crawler

Schedule polite fetches, bound untrusted inputs, and build a useful revisit policy.

7 min read
25

K-means: what makes a useful cluster?

Work through an assignment step, then question the distance function and the purpose of the groups.

4 min read
26

PCA and dimensionality reduction

Separate variance preservation from predictive usefulness, and reason about scaling and reconstruction.

4 min read
27

Feature engineering and missing data

Design transformations around prediction time, missingness, and consistent serving behavior.

4 min read
28

Feature selection and importance

Distinguish a useful predictor from a causal explanation and measure whether a feature earns its cost.

4 min read
29

Regression metrics and asymmetric errors

Calculate MAE and RMSE, then choose a loss that reflects the decision being made.

4 min read
30

A/B tests: from randomization to a decision

Choose the experimental unit, interpret uncertainty, and avoid declaring a winner from noise.

4 min read
31

Negative sampling for retrieval models

Understand what an unobserved interaction means and how sampled training differs from catalog-wide evaluation.

4 min read
32

Attention and transformers: the serving trade-offs

Trace one attention operation and connect context length to memory, caching, and system design.

4 min read
33

Design a demand forecasting system

Forecast the right horizon, distinguish observed sales from demand, and connect uncertainty to inventory decisions.

4 min read
34

Design an arrival-time prediction system

Define the prediction timestamp, handle unfinished trips, and separate route estimates from customer promises.

4 min read
35

Design a visual product-search system

Connect image embeddings to catalog freshness, attribute constraints, and relevance evaluation.

4 min read
36

Design a notification recommendation system

Optimize useful interruptions, enforce frequency caps, and measure outcomes beyond clicks.

4 min read
37

Design an anomaly detection system

Turn unusual measurements into actionable incidents with seasonality, alert budgets, and operator feedback.

4 min read
38

Design a feature platform

Keep historical training joins and low-latency serving consistent through explicit timestamps and versions.

4 min read
39

Design a model-serving platform

Balance deadlines, batching, version compatibility, and rollback across shared inference infrastructure.

4 min read
40

Design a near-duplicate detection system

Combine cheap candidate generation with careful verification, and keep similarity distinct from identity.

4 min read
41

Design a distributed cache

Choose a consistency contract, prevent stampedes, and plan for the moment the cache disappears.

4 min read
42

Message Queue System Design: Delivery, Retries and Backlog

Design a durable message queue with at-least-once delivery, idempotent effects and worker leases. Calculate backlog recovery and the capacity consumed by retries.

4 min read
43

Design a distributed job scheduler

Separate schedules from executions, claim work safely, and fence workers that have lost ownership.

4 min read
44

Design an inventory reservation system

Prevent overselling with atomic state transitions, explicit expiry, and reconciliation for uncertain outcomes.

4 min read
45

Design a notification delivery service

Track durable intent, provider attempts, user preferences, and ambiguous delivery outcomes.

4 min read
46

Design a search autocomplete service

Serve fresh prefix suggestions with predictable latency, careful normalization, and bounded personalization.

4 min read
47

Design a metrics ingestion platform

Control cardinality, distinguish event time from arrival time, and preserve meaning through aggregation.

4 min read
48

Design a video streaming service

Separate upload processing from playback, and reason about encoding, cacheability, and access control.

4 min read
49

Design a reliable webhook delivery platform

Make delivery durable, bound retries, and explain why an acknowledgement cannot prove exactly-once processing.

5 min read
50

Design a streaming LLM inference service

Budget tokens and memory, separate prefill from decoding, and protect interactive latency under load.

5 min read
51

Design a coding-agent execution platform

Separate reasoning from execution and make permissions, retries, and recovery part of the architecture.

5 min read
52

Design an agent evaluation platform

Measure completed outcomes across repeated trials, while separating model failures from broken environments.

5 min read
53

GPU Scheduler System Design: Fairness and Preemption

Design a GPU scheduler with quota admission, gang placement, checkpoint recovery and fair sharing. Calculate fragmentation and the cost of preemption.

6 min read
54

Design a real-time voice assistant

Handle interruption, bounded audio buffers, and tool calls whose outcomes outlive the spoken response.

5 min read
55

Turn an ambiguous customer request into an AI pilot

Find the actual workflow, quantify its cost, and agree on a testable scope before proposing an agent.

6 min read
56

Design a support copilot for a customer environment

Integrate messy knowledge and ticket systems while preserving identity, permissions and human review.

6 min read
57

Debug an AI deployment that worked in the demo

Use evidence to isolate retrieval, authorization, latency and model failures while keeping the customer informed.

6 min read
58

Take an AI pilot into production

Turn a promising demo into an owned service with evaluation gates, economics, rollout and a practical handoff.

6 min read
59

Distribute and safely activate a large model

Find the bandwidth bottleneck, verify immutable chunks, and separate downloaded bytes from safe production activation.

7 min read
60

Device Configuration Sync: Offline Conflicts and Recovery

Design configuration synchronization across offline devices using revisions, conflict handling and desired versus applied state. Work through reconnect failures.

7 min read
61

Investigate an AI customer’s capacity and cost problem

Turn incomplete utilization data into a defensible diagnosis, a measurable experiment and a customer decision.

6 min read
62

Schedule large and small models for document review

Derive feasible GPU shares, prevent starvation, and distinguish cache hits from useful compute savings.

7 min read
63

Ad Frequency Capping System Design: Rolling Windows and Races

Design ad frequency capping with atomic admission, rolling windows and retry deduplication. Work through cap changes, race conditions and failure policy.

9 min read
64

Handle oversized inputs in a shared AI playground

Bound uploads, extraction and token work while preserving permissions, provenance and honest completeness guarantees.

6 min read
65

Plan a safe repository-wide migration

Turn a small converter into a reviewable migration with symbol boundaries, independent checks and a customer handoff.

6 min read
66

Design a research assistant with parallel workers

Preserve claim provenance, coordinate durable tasks and enforce budgets before delegating more work.

6 min read
67

Design a change-data-capture pipeline

Connect snapshots to live changes, make replay safe, and calculate the cost of falling behind.

7 min read
68

Design token usage accounting and reconciliation

Reserve budgets before execution, meter streaming work and reconcile retries without double charging.

7 min read
69

Route models under quality, cost and latency constraints

Choose eligible models, measure the value of escalation and evaluate the complete routing policy.

7 min read
70

Confidence intervals for model comparisons

Work through paired accuracy differences, bootstrap sampling units and practical significance.

8 min read
71

Reconcile conflicting records across customer systems

A customer integration case covering source authority, reconciliation, unknown outcomes and safe recovery.

9 min read
72

Diagnose selection bias in recommendation data

Worked population-mix and propensity-weighting examples, with support and uncertainty limits.

8 min read
73

Design training-data provenance and removal workflows

Versioned manifests, record membership, release gates and a worked invalidation case.

9 min read
74

Resolve disagreement over pilot evaluation

A worked FDE case with reviewer agreement, judge errors and a realistic review budget.

8 min read
75

Design retrieval over rapidly changing documents

Freshness budgets, chunk generations, permission checks, deletion and live index rebuilding.

9 min read
76

Design an experimentation assignment and exposure platform

Deterministic assignment, enrollment, exposure semantics, telemetry loss and experiment quality.

9 min read
77

Choose thresholds using precision–recall curves

Worked threshold choices, average precision, tied scores and changing positive-class prevalence.

8 min read
78

Design human approval for consequential agent actions

An FDE approval workflow with payload identity, external-state races and reviewer capacity.

8 min read
79

Design a double-entry payment ledger

Worked wallet entries, atomic holds, idempotent posting and ledger recovery.

9 min read
80

Distinguish prediction from causal effects

Worked coupon economics, randomized assignment, confounding and policy evaluation.

8 min read
81

Design a human preference collection platform

Pair sampling, independent judgments, reviewer capacity and training-data lineage.

9 min read
82

Plan an AI rollout with customer data-location constraints

A six-week FDE rollout with location requirements, failure policies and evidence-based acceptance.

9 min read
83

Collaborative Editor System Design: CRDTs, Sync and Presence

Design a collaborative editor with CRDT updates, durable synchronization and bounded presence traffic. Calculate fan-out and handle offline clients safely.

9 min read
84

Design distributed training checkpoint storage

Immutable staging, atomic publication, checkpoint bandwidth and tested restoration.

9 min read
85

Control false discoveries across many model experiments

Worked Bonferroni, Holm and BH examples, dependence assumptions and test-set reuse.

8 min read
86

Design a model rollout and rollback platform

Shadow traffic, cohort canaries, delayed labels and rollback capacity.

9 min read
87

Estimate and validate the ROI of an AI workflow

Worked support-workflow economics, sensitivity analysis and a defensible customer pilot.

9 min read
88

Distributed Lock System Design: Leases and Fencing

Design distributed locks with lease expiry, atomic fencing checks and safe recovery. Work through stale workers, duplicate writes and external-service limits.

10 min read
89

Survival Analysis: Censoring, Kaplan–Meier and Competing Risks

Work through survival probabilities, right censoring, Kaplan–Meier estimates and competing risks. Learn why terminal cancellation is not ordinary missing follow-up.

8 min read
90

Design an active-learning annotation loop

Uncertainty, diversity, exploration, labeling budgets and fair learning-curve comparisons.

9 min read
91

Design a schema registry for event producers

Directional compatibility, transitive checks, registration races and cache recovery.

9 min read
92

Choose a bootstrap strategy for dependent observations

Cluster dependence, paired differences, ratio metrics and uncertainty limits.

10 min read
93

Integrate an AI workflow with an unreliable legacy API

Capability discovery, ambiguous writes, adapter boundaries and customer acceptance.

10 min read
94

Design resumable browser event streams

Replay boundaries, application checkpoints, fan-out and slow clients.

10 min read
95

Gradient Accumulation: Effective Batch Size and DDP Scaling

Calculate effective batch size and correctly normalize unequal token batches in distributed gradient accumulation. Cover clipping, AMP and synchronization.

9 min read
96

Design a deadline-aware batch inference service

Work partitioning, deadline capacity, attempt isolation and manifest publication.

10 min read
97

Assess whether customer data is ready for an AI pilot

Coverage funnels, label audits, temporal leakage and pilot readiness.

10 min read
98

Explain contrastive representation learning

Worked contrastive loss, false negatives, batch interactions and retrieval evaluation.

10 min read
99

Design tiered time-series retention and downsampling

Mergeable summaries, counter resets, late revisions and tiered queries.

10 min read
100

Explain quantization accuracy and memory trade-offs

Scale and zero point, outliers, metadata, calibration and hardware limits.

10 min read
101

Ranking Losses Explained: Pointwise, Pairwise and Listwise

Compare pointwise, pairwise and listwise ranking losses with worked gradients, NDCG examples, query weighting and biased click-label limitations.

12 min read
102

Run a customer workflow in shadow mode

Side-effect isolation, temporal comparison, coverage funnels and pilot gates.

11 min read
103

Delayed Conversion Labels: Maturity, Bias and Monitoring

Handle delayed conversion labels with mature cohorts and age-aware evaluation. Separate slower reporting from lower conversion rates using a worked example.

9 min read
104

Hand an AI deployment to the customer operations team

Ownership boundaries, support capacity, reverse shadowing and acceptance evidence.

11 min read
105

Diagnose high-variance importance-weighted estimates

Rare-event variance, misleading effective sample size, self-normalization and clipping bias.

11 min read
106

Design conversation history storage at scale

Immutable message trees, conditional branch updates, pagination and deletion fencing.

11 min read
107

Tamper-Evident Audit Log System Design: Integrity and Gaps

Design a tamper-evident audit log with signed manifests, independent checkpoints and verifiable exports. Distinguish integrity from capture completeness.

12 min read
108

Manage a customer-facing AI quality incident

Incident roles, exposure estimates, customer updates and historical remediation.

11 min read
109

Design cross-language enterprise retrieval

Hybrid candidates, multilingual representations, language-pair evaluation and safe fallbacks.

11 min read
110

Reason about base rates and diagnostic evidence

Natural frequencies, likelihood ratios, prevalence shift and operational decisions.

11 min read
111

Design a cross-shard transaction coordinator

Two-phase commit, fenced decisions, prepared-state recovery and visibility contracts.

13 min read
112

Resolve conflicting customer success criteria

Feasibility calculations, decision authority, scoped acceptance and operational fallback.

12 min read
113

Resolve customer entities across noisy records

Blocking, calibrated pair scores, constrained clusters and versioned merge recovery.

13 min read
114

Connect regularization with probabilistic priors

Gaussian and Laplace priors, feature scaling, sparse solutions and posterior uncertainty.

12 min read
115

Move a live tenant between database shards

Snapshot barriers, durable replay, writer fencing and honest rollback guarantees.

13 min read
116

Extract structured tables from enterprise documents

Merged cells, OCR alignment, semantic validation and versioned corrections.

12 min read
117

Customer AI Evaluation Sets: Coverage, Weighting and Paired Tests

Build a customer AI evaluation set with representative cases, critical slices and paired comparisons. Separate acceptance thresholds from average pass rates.

9 min read
118

Distinguish missingness mechanisms and remedies

MCAR, MAR, MNAR, weighted means, nonidentifiability and sensitivity analysis.

12 min read
119

Object Storage Garbage Collection: Safe Deletion and Races

Design blob garbage collection with complete retention roots, atomic deletion checks and immutable generations. Analyze restore races and reclamation capacity.

14 min read
120

Attribute speakers in recorded meetings

Diarization pipelines, overlap-aware metrics, chunk reconciliation and corrections.

12 min read
121

Explain reversals under aggregation

Simpson’s paradox, common population weights, decomposition and evaluation design.

12 min read
122

Cut over an enterprise integration with a rollback window

Cutover gates, dispatch ownership, reconciliation and rollback after new effects.

13 min read
123

Allocate sortable identifiers across regions

ID bit budgets, disjoint allocation grants, clock behavior and UUID trade-offs.

13 min read
124

Detect rare manufacturing defects from images

Multi-view inspection, anomaly localization, review budgets and camera drift.

13 min read
125

Construct and evaluate conformal prediction sets

Calibration ranks, adaptive intervals, prediction sets and distribution-shift limits.

12 min read
126

Deliver updates into a disconnected customer environment

Offline bundles, trust bootstrap, resumable import and recovery planning.

13 min read
127

Limit concurrent work across service instances

Distributed permits, executor admission, fairness and oversubscription failures.

13 min read
128

Reconcile forecasts across product hierarchies

Hierarchical forecasts, weighted reconciliation, coherent publishing and quantile pitfalls.

13 min read
129

Compare momentum and adaptive optimization

Momentum dynamics, Adam moments, numerical conventions and faithful restarts.

12 min read
130

Diagnose low adoption of a working AI workflow

Adoption funnels, workflow friction, representative pilots and customer ownership.

12 min read
131

Design point-in-time database recovery

Recovery points, missing logs, retention dependencies and safe cutover.

14 min read
132

Combine rankings from incompatible retrievers

Worked rank fusion, truncation and duplicate-branch counterexamples.

12 min read
133

Recommendation Diversity: MMR, Constraints and Evaluation

Rerank recommendations with MMR while preserving hard creator limits. Calculate candidate feasibility and evaluate relevance, diversity and user outcomes.

11 min read
134

Set operational cost guardrails for an AI deployment

Daily allowances, uncertain usage, degraded modes and pilot acceptance.

14 min read
135

Deliver messages at a future time

Time buckets, clock bounds, generation checks and overdue recovery.

14 min read
136

Compare batch and layer normalization

Tiny-matrix calculations, saved statistics, small batches and padding.

13 min read
137

Route uncertain predictions to human experts

Human error, selective risk, benefit-based deferral and reviewer queues.

14 min read
138

Map enterprise permissions into retrieval access

Permission truth tables, freshness bounds and customer acceptance tests.

14 min read
139

Cache semantically similar model requests

False semantic hits, dependency invalidation and cache economics.

14 min read
140

Allocate released reservations to a waitlist

A transactional waitlist with explicit FIFO policy, acceptance races and holding-cost calculations.

14 min read
141

Choose targets and losses for model distillation

Temperature, teacher mistakes, worked gradients and honest compression evaluation.

12 min read
142

Handle a major scope change during an AI pilot

A six-week pilot changes midstream: calculate capacity, isolate dependencies and negotiate a verifiable outcome.

13 min read
143

Design content moderation with appeals

Appeal selection bias, staffing calculations, versioned decisions and trustworthy training feedback.

14 min read
144

Route around failing service dependencies

Scoped probes, survivor capacity, correlated failures and controlled recovery.

13 min read
145

Explain positional information in attention

A numerical RoPE example, precise causal-mask caveats and long-context validation.

12 min read
146

Escalate an opaque provider failure with useful evidence

Separate symptoms from blame, correlate retries and calculate fallback limits.

13 min read
147

Evaluate synthetic training data before use

Real holdouts, matched ablations, rare-intent trade-offs and synthetic-data lineage.

13 min read
148

Explain gradient clipping and its side effects

Global versus coordinate clipping, accumulation order, loss scaling and update-size counterexamples.

12 min read
149

Generate resumable customer data exports

Snapshot lifetime, immutable parts, atomic manifests and revocable download access.

13 min read
150

Forecast demand when observed sales are censored

Stockout likelihoods, identifiability limits, availability data and inventory-policy evaluation.

13 min read
151

Reproduce a customer's benchmark fairly

Cache mix, load generation, timeout accounting and customer acceptance criteria.

13 min read
152

Use Jensen's inequality in ML reasoning

Probability ensembles, perplexity aggregation and a support-aware likelihood bound.

12 min read
153

Build and atomically switch a distributed search index

Snapshot replay, revision fences, readiness barriers and stable pagination.

14 min read
154

Product Attribute Extraction: Evidence, Units and Abstention

Extract attributes from product descriptions and datasheets with evidence spans, unit normalization and variant checks. Evaluate precision and abstention separately.

10 min read
155

Retire a customer integration version

Consumer inventory, semantic compatibility, bounded exceptions and retirement evidence.

13 min read
156

Correct probabilities under changing class priors

Prior correction, confusion-based prevalence estimation and a failure counterexample.

13 min read
157

Multi-Region Quota Design: Budgets and Safe Transfers

Enforce a global tenant quota with regional budgets, atomic debits and idempotent transfers. Analyze lost acknowledgments, partitions and stranded capacity.

15 min read
158

Evaluate a domain translation service

Blinded review, terminology diagnostics, critical slices and uncertainty-aware release gates.

13 min read
159

Effective Sample Size: Correlated Data and Unequal Weights

Calculate effective sample size for clustered observations and unequal weights. Compare sampling designs and learn where common ESS formulas stop applying.

8 min read
160

Group incoming email into reliable conversations

Message identities, missing parents, reversible merges and mailbox authorization.

14 min read
161

Explain probability accuracy with the Brier score

Worked Brier decomposition, binning pitfalls and honest reference forecasts.

13 min read
162

Roll out server configuration safely

Atomic bundles, rollback revisions, compatibility and measured rollout exposure.

14 min read
163

Choose a low-rank approximation using singular values

Worked SVD residuals, factor storage and an activation-distribution counterexample.

14 min read
164

Train customer reviewers to supervise AI drafts

Individual competency gates, training effort and specialist-queue capacity.

10 min read
165

Deduplicate image datasets before model training

Candidate recall, graph chaining, group-aware splits and contamination arithmetic.

14 min read
166

Recommend from short anonymous sessions

Session state, prefix training, intent decay and ranking metrics.

14 min read
167

Route search queries across specialized indexes

Ambiguous intent, selective fan-out, unsupported queries and routing evaluation.

14 min read
168

Fail over a regional write service safely

Partition timelines, recovery-point uncertainty, recovery budgets and external effects.

14 min read
169

Detect a misleading pilot success metric

Denominator shifts, mature outcomes, case ledgers and acceptance decisions.

13 min read
170

Design a live-event streaming service

Segment publication, CDN capacity, live-delay budgets and timeline continuity.

14 min read
171

Integrate through a restricted customer network

Layered diagnosis, scoped egress and production-equivalent acceptance tests.

13 min read
172

Recommend practice that improves retained learning

Prerequisite-aware practice, Bayesian evidence and delayed-outcome evaluation.

14 min read
173

Design recommendations for new marketplace sellers

Cold-start priors, exploration budgets, logged probabilities and two-sided evaluation.

14 min read
174

Migrate a customer workflow between model providers

Provider adapters, paired acceptance evidence, total cost and safe rollback.

14 min read
175

Allocate scarce capacity through a sealed auction

Deadline semantics, deterministic ties, payment uncertainty and hot-auction capacity.

14 min read
176

Detect suspicious training-data contributions

Base rates, review budgets, behavioral tests and recovery from affected checkpoints.

14 min read
177

Design repeatable onboarding for enterprise AI tenants

Configuration boundaries, tenant isolation, ingestion capacity and partial-failure recovery.

14 min read
178

Verify deletion across an AI customer deployment

Suppression, lineage, object versions, backup restoration and training artifacts.

14 min read
179

Prepare technical evidence for customer procurement

Claim matrices, responsibility boundaries, availability math and evidence gaps.

14 min read
180

Explain fast adaptation with meta-learning

Support/query splits, exact and first-order gradients, and leakage-resistant evaluation.

14 min read
181

Invalidate mutable content across edge caches

HTTP freshness, generation watermarks, purge acknowledgments and origin amplification.

14 min read
182

Design a reproducible build artifact cache

Hermetic action identity, trusted publication, incomplete results and critical-path savings.

14 min read
183

Predict conditional quantiles with pinball loss

Worked pinball losses, nonunique quantiles, cost ratios and crossing predictions.

14 min read
184

Reduce an overloaded human approval queue

Reviewer capacity, backlog recovery, evidence packaging and honest queue metrics.

14 min read
185

Detect acoustic events in continuous audio

Temporal labels, event formation, false alerts per hour and edge deployment.

14 min read
186

Compact an event log without resurrecting deleted keys

Tombstones, stale checkpoints, consistent snapshots and net catch-up capacity.

14 min read
187

Choose the direction of KL divergence

Asymmetry, support, likelihood gradients and a restricted-family mode example.

14 min read
188

Run a customer recovery exercise

Drill scope, lost acknowledgments, recovery timelines and backlog calculations.

14 min read
189

Predict useful links in a collaboration graph

Temporal graph snapshots, negative sampling, retrieval recall and degree bias.

14 min read
190

Resume long-running business workflows

History replay, lost acknowledgments, compensation, upgrades and capacity.

14 min read
191

Mutual Information Explained: Examples, Conditioning and Leakage

Understand mutual information in bits and nats, nonlinear dependence, conditional information and feature leakage through worked discrete examples.

11 min read
192

Rotate service certificates without interrupting traffic

Dual-root migration, expiry bounds, session state, recovery and compromise response.

14 min read
193

Classify products into an evolving taxonomy

Hierarchical probabilities, ancestor decisions, partial labels and category migrations.

14 min read
194

Revalidate access after an enterprise reorganization

Nested groups, timed exceptions, token propagation and enforcement evidence.

14 min read
195

Derive expectation maximization for a mixture

A numerical EM iteration, lower-bound proof, singularities and validation.

14 min read
196

Find nearby available resources at scale

Spatial candidates, exact distance, index lag, eligible top-k and reservation races.

14 min read
197

Retrieve evidence across page layout and text

Hybrid page retrieval, coordinate provenance, multi-page evidence and cost.

14 min read
198

Diagnose abandonment in a multi-step AI workflow

Case funnels, mature cohorts, manual completion and a measured resume-flow intervention.

14 min read
199

Use curvature to reason about optimization

Quadratic dynamics, eigenvalues, saddle points, conditioning and HVP diagnostics.

14 min read
200

Compute trending items from distributed streams

Partitioning proofs, aligned windows, heavy-hitter bounds and exact ranking certificates.

15 min read
201

Forecast intermittent spare-part demand

Occurrence and size models, sparse histories, cumulative uncertainty and inventory costs.

15 min read
202

Validate a customer integration beyond its sandbox

Pagination gaps, shared request budgets, permission checks and customer acceptance gates.

15 min read
203

Model counts with Poisson regression

Count likelihood, weighted rates, coefficient interpretation and conditional dispersion.

14 min read
204

Book meetings across changing calendars

Interval exclusion, daylight-saving recurrence, atomic edits and external calendar limits.

15 min read
205

Find equivalent questions in a technical forum

Constraint-aware retrieval, canonical answer drift, abstention and honest evaluation.

14 min read
206

Adapt an AI workflow for a new customer language

Explicit policy context, joint acceptance, reviewer calibration and feasible rollout.

15 min read
207

Gate low-quality uploads before downstream inference

Task-specific image quality, retake utility, abandonment and device-shift evaluation.

15 min read
208

Estimate expectations with Monte Carlo

Paired estimators, control variates, stopping rules and reproducible simulation.

14 min read
209

Query Rewriting for RAG: Constraints, Retrieval and Evaluation

Design query rewriting for RAG without losing entities, versions or negation. Compare original-query retrieval, gated rewrites, latency and evaluation.

12 min read
210

Deliver reproducible pilot evidence to a customer

Frozen denominators, redacted evidence, integrity manifests and versioned corrections.

14 min read
211

Retire an AI capability used by active customers

Dependency discovery, replacement acceptance, fallback capacity and reversible retirement.

14 min read
212

Design a distributed tracing ingestion service

Trace affinity, tail buffers, durable replay and sampling-biased metrics.

15 min read
213

Retrieve code by natural-language intent

Retrieve version-specific code, preserve permissions, and distinguish similar snippets from evidence of the requested behavior.

14 min read
214

Approximate uncertainty with the delta method

Propagate uncertainty through ratio metrics, retain covariance, and recognize when a linear approximation fails.

14 min read
215

Launch enterprise sign-in without locking out users

Preserve existing accounts, stage enforcement, and prove that administrator recovery survives an identity-provider outage.

15 min read
216

Change a large database schema without stopping writes

Coordinate old and new writers, backfill without stale overwrites, and define the point where rollback becomes lossy.

15 min read
217

Extract actionable commitments from meetings

Distinguish suggestions from commitments, ground owners and deadlines, and reconcile later corrections before creating tasks.

15 min read
218

Compare nested models with likelihood ratios

Compute a nested-model test, check its regularity assumptions, and derive a case where boundary constraints change the answer.

14 min read
219

Choose the first workflow for an AI deployment

Choose a feasible first workflow using evidence, delivery capacity and total operating effort—not speculative benefit scores.

14 min read
220

Capture a consistent distributed snapshot

Account for in-flight transfers, establish a consistent cut, and publish only a complete durable snapshot.

14 min read
221

Forecast demand for newly launched products

Transfer evidence from comparable launches, update sparse sales carefully, and separate promotional lift from baseline demand.

15 min read
222

Reason about stationary Markov distributions

Solve an invariant distribution, distinguish it from a limiting law, and diagnose periodicity and slow mixing.

14 min read
223

Transfer a deployment when customer ownership changes

Move responsibility and execution dependencies safely when a customer owner leaves, without orphaning scheduled work.

14 min read
224

Design a container artifact registry

Publish complete container images with resumable uploads, digest integrity, repository authorization and safe retention.

15 min read
225

Match catalog products across merchants

Distinguish exact variants from visual lookalikes using multimodal evidence, calibrated linking and reversible decisions.

15 min read
226

Select diverse items with diminishing returns

Derive a greedy coverage guarantee, then test its limits with prerequisites, unequal costs and stale marginal gains.

14 min read
227

Validate a customer recovery requirement end to end

Test business recovery across identity, data and external effects, then make an evidence-backed customer acceptance decision.

15 min read
228

Join two event streams with late arrivals

Join out-of-order events with explicit retention, provisional unmatched results and replay-safe historical corrections.

15 min read
229

Predict equipment failure with censored records

Predict actionable equipment failures while accounting for incomplete follow-up, preventive replacement and technician capacity.

15 min read
230

Understand focal loss and difficult examples

Derive focal-loss gradients, compare easy and difficult examples, and separate classification decisions from probability calibration.

14 min read
231

Design operator correction without losing accountability

Preserve operator intent through rescoring and concurrent edits, then distinguish corrections from reliable training labels.

15 min read
232

Permission Revocation System Design: Caches, Leases and Streams

Design bounded permission revocation across gateways and caches. Analyze authority leases, stale refreshes, in-flight responses and signed-URL bypasses.

13 min read
233

Verify generated answers against evidence

Verify claims and citation support, preserve missing prerequisites, and measure errors that survive the release gate.

15 min read
234

Compare distributions with optimal transport

Solve a weighted transport example, preserve meaningful geometry, and distinguish empirical distance from evidence of drift.

14 min read
235

Deliver value while data access arrives in stages

Deliver honest pilot milestones as access expands, preserve capability boundaries, and compare quality across changing cohorts.

14 min read
236

Count reactions across regions

Separate unique reaction state from replicated totals, handle retries and undo, and rebuild counts under skew and regional failures.

15 min read
237

Predict search failure before answering

Estimate initial retrieval failure, separate fallback benefit from risk, and choose actions under latency and cost constraints.

15 min read
238

Preserve geometry with random projections

Derive a finite-set distortion budget, test nearest-neighbor margins, and compare theoretical guarantees with empirical compression.

15 min read
239

Customer Pilot A/B Testing: Team Randomization and Missing Data

Design a customer pilot with team-level randomization, intention-to-treat analysis, outcome maturity and explicit handling of missing support-ticket outcomes.

12 min read
240

Execute analytical queries across workers

Plan analytical joins, budget shuffle and memory, handle hot keys, and recover tasks without duplicating results.

16 min read
241

Personalize search while preserving explicit intent

Use history without overriding explicit intent, prevent profile leakage, and evaluate personalization beyond aggregate clicks.

15 min read
242

Learn when outcomes are only partially observed

Distinguish censoring from truncation, derive a likelihood for capped measurements, and expose assumptions about an unseen tail.

14 min read
243

Define support for a customized AI deployment

Define supported customizations, separate coordination from repair authority, and resolve failures across customer and platform components.

14 min read
244

Erasure-Coded Storage Design: Capacity and Repair

Design erasure-coded object storage with a worked 6+3 layout, failure-domain placement, acknowledgment policy and generation-safe repair.

16 min read
245

Predict with a Gaussian process and explain its uncertainty

Calculate a kernel posterior, distinguish latent and observation uncertainty, and budget stable Gaussian-process inference.

14 min read
246

Distributed Deadlock Detection: Wait-for Graphs and Recovery

Detect distributed deadlocks with versioned wait-for graphs, stale-edge checks and coordinator-owned aborts. Distinguish deadlock from starvation and timeouts.

11 min read
247

Correct search typos without changing the requested entity

Noisy-channel scoring, exact-entity protection and correction precision.

14 min read
248

Resolve unit and meaning mismatches in customer data

Typed measurement contracts, offset conversions and reproducible rollout.

14 min read
249

Estimate an outcome with two imperfect nuisance models

Worked AIPW scores, robustness proof, cross-fitting and overlap failures.

15 min read
250

Design a live meeting transcription system

Live and final paths, optional speech separation, revision protocols and transcript evaluation.

16 min read
251

Bound retries across a service call chain

Assume idempotent reads, a 900 ms end-to-end deadline and no guarantee that a timed-out attempt stopped executing.

6 min read
252

Schedule mixed-cost tenant jobs fairly

Assume jobs can be divided into bounded execution quanta, tenant identity is authenticated and fairness is measured in worker-seconds.

6 min read
253

Route requests with stable hashing during fleet changes

Assume cache loss is harmless and durable documents live elsewhere.

6 min read
254

Skip absent-key disk reads with Bloom filters

Assume immutable table generations and a standard Bloom filter with no deletion.

6 min read
255

Locate replica differences with Merkle trees

Assume deterministic serialization, collision-resistant hashes and versioned records with a documented conflict resolver.

6 min read
256

Cache missing DNS names without prolonging an outage

Assume an upstream recursive resolver and standards-compliant authoritative answers.

6 min read
257

Claim unique public usernames under contention

Assume a single authoritative transactional store per normalized name.

6 min read
258

Aggregate latency percentiles without averaging percentiles

Assume nonnegative latencies, explicit time windows and a mergeable quantile sketch with documented rank-error behavior.

6 min read
259

Deliver short-lived database credentials to workers

Assume workers have a trusted workload identity and the database can enforce credential revocation.

6 min read
260

Design single-use password reset links

Assume an existing account and email-delivery system.

6 min read
261

Predict product returns to offer better purchase guidance

Predict a return within 30 days using information available before purchase.

6 min read
262

Predict support escalations before a service deadline

Use a snapshot at ticket creation or a separately defined hourly scoring time.

6 min read
263

Route short multilingual messages without forcing one language

Language identification is not translation.

6 min read
264

Read handwritten form fields with reviewable uncertainty

Assume authorized scanned forms and a known initial set of layouts.

6 min read
265

Remove video-call backgrounds without erasing fine detail

Predict an alpha matte between zero and one, not merely a binary person mask.

6 min read
266

Find action intervals inside long videos

This is temporal localization in untrimmed video, not recommendation or a whole-video classifier.

6 min read
267

Forecast short-horizon solar generation ramps

Forecast available generation separately from dispatched output.

6 min read
268

Detect land-cover changes from satellite image pairs

Predict observable land-cover change, not ownership or legal use.

6 min read
269

Train keyboard suggestions across intermittent devices

Federated learning changes where training happens; it does not automatically guarantee privacy.

6 min read
270

Segment warehouse objects in sparse point clouds

This is semantic point labeling for inventory assistance, not autonomous motion control.

6 min read
271

Keep a uniform sample from an unknown-length stream

Sample stream positions without replacement.

6 min read
272

Sample a fixed categorical distribution in constant time

Assume nonnegative finite weights with positive total, independent random draws and a distribution that stays fixed between rebuilds.

6 min read
273

Update a conversion probability with a beta prior

Assume conditionally independent Bernoulli outcomes with a stable common probability p.

6 min read
274

Distinguish sequence likelihood from the best hidden path

Assume two hidden states, a first-order Markov transition model and observations conditionally independent given the state sequence.

6 min read
275

Explain support-vector margins and feature scaling

Use binary labels −1 and +1 and the canonical hard-margin constraints y(w·x+b) at least 1.

6 min read
276

Interpret ROC AUC through positive-negative pairs

Assume binary labels, larger scores indicating positives and half credit for ties.

6 min read
277

Compare datasets with a kernel two-sample statistic

Assume independent samples within and between groups for the basic test.

6 min read
278

Test paired model improvements with valid permutations

Specify the null that makes within-pair label swaps valid.

6 min read
279

Monitor experiments without treating every peek as a fixed test

Separate fixed-horizon inference from time-uniform inference.

6 min read
280

Connect entropy to lossless coding and log loss

Use base-two logarithms and a discrete distribution with positive probabilities for observed symbols.

6 min read
281

Deliver an AI workflow for intermittently connected field teams

Assume managed devices with encrypted local storage.

6 min read
282

Make an AI review workflow usable with assistive technology

Focus on the complete task from opening evidence to editing and submitting a decision.

6 min read
283

Ingest spreadsheet results without trusting stale formula caches

Assume XLSX input, authorized files and no requirement to execute arbitrary macros.

6 min read
284

Add customer attachments without exposing the main application

Agree on an initial allowlist of formats, sizes and document purposes.

6 min read
285

Agree on business-hour deadlines across time zones

This is a business-calendar definition problem, not just conversion from local time to UTC.

6 min read
286

Recover records missed during a paginated customer import

Do not assume a pagination token implies a consistent snapshot.

6 min read
287

Repair a CSV import that silently changes identifiers

Parsing rows is not the same as understanding field types.

6 min read
288

Fix a pilot dashboard that counts clicks as completed work

Distinguish intent, attempted submission, accepted command and completed business outcome.

6 min read
289

Resolve inconsistent reviewer labels before retraining

Reviewer agreement is not ground-truth accuracy.

6 min read
290

Make a nightly file handoff distinguish complete from partial uploads

Assume control over the sender's naming convention but no transactional message broker.

6 min read
291

Keep a user's reads from moving backward across replicas

Assume one ordered replication history per shard and a verifiable applied position.

6 min read
292

Batch durable commits without acknowledging volatile data

Assume a write-ahead log and a storage stack that correctly implements the required flush semantics.

6 min read
293

Bound database concurrency behind a connection pool

Assume short transactional requests with a bounded database concurrency target.

6 min read
294

Serve a multimodal model when an input is missing

Assume image-only, text-only and paired examples are legitimate input states.

6 min read
295

Estimate which training data improves a model

Define the learner, training randomness, validation population and utility before assigning value.

6 min read
296

Generate image descriptions without inventing details

Assume authors can edit drafts before publication.

6 min read
297

Compute softmax stably and derive its gradient

Assume finite logits and a normalized target distribution.

6 min read
298

Trade activation memory for recomputation during training

This is recomputing forward activations during backward, distinct from saving training checkpoints to durable storage or accumulating gradients across batches.

6 min read
299

Run customer analytics on a replica without blocking recovery

Read-only access does not mean zero operational impact.

6 min read
300

Reconcile totals that differ because of rounding rules

Treat this as technical reconciliation, with the customer's authorized owner defining the accounting rule.

6 min read
301

Count distinct identifiers across overlapping partitions

Estimate daily distinct device IDs across regions without retaining every ID centrally.

5 min read
302

Estimate hot-key frequencies with bounded sketch memory

Track query frequencies in a stream with millions of distinct strings using bounded memory.

5 min read
303

Detect concurrent document versions with vector clocks

Two offline editors update the same document.

5 min read
304

Discover membership failures without treating suspicion as proof

A thousand-node service needs a scalable membership view during packet loss.

5 min read
305

Budget compaction without starving storage writes

An LSM-based store accumulates immutable files faster than it can compact them.

5 min read
306

Skip irrelevant row groups in analytical scans

A query engine reads terabytes to answer selective date-and-region queries.

5 min read
307

Commit concurrent changes to an object-store table

Two jobs update overlapping partitions of a table stored as immutable files.

5 min read
308

Explain what overlapping read and write quorums guarantee

A replicated key-value store uses N=3, W=2 and R=2.

5 min read
309

Publish generated files with atomic name replacement

A service regenerates a configuration file while readers open it continuously.

5 min read
310

Generate bounded image variants on demand

Serve resized product images through a CDN without allowing arbitrary transformation URLs to exhaust compute and cache storage.

5 min read
311

Drain long-lived connections during a rolling upgrade

Upgrade a fleet of WebSocket gateways without abruptly dropping every active client or waiting forever for connections that never close.

5 min read
312

Resume downloads without mixing object versions

A client resumes a large interrupted download while the server may replace the file.

5 min read
313

Prevent lost edits with conditional HTTP updates

Two administrators edit the same resource from old browser tabs.

5 min read
314

Rotate encryption keys without rewriting every object

A tenant stores millions of encrypted blobs.

5 min read
315

Recover distributed shuffle outputs after worker failure

A distributed analytics job loses a worker holding intermediate partitions.

5 min read
316

Estimate a workflow deadline from its dependency graph

A team adds workers to a pipeline but completion time barely changes.

5 min read
317

Assign players to matches without double booking

Match players by skill and acceptable latency while queue time grows.

5 min read
318

Pace campaign spending under delayed usage reports

An ad campaign must spend throughout a day without exceeding an authorized budget when auction charges arrive late.

5 min read
319

Assemble daily digests from late and repeated events

Send one useful daily digest per user from many events, respecting time zones and preferences without duplicating content after retries.

5 min read
320

Manage browser push subscriptions through expiry and renewal

Deliver browser push notifications when devices rotate subscriptions, remain offline or revoke permission.

5 min read
321

Deduplicate backups when bytes shift within files

A backup service sees large files with small insertions.

5 min read
322

Find deployments affected by a dependency advisory

A dependency advisory arrives.

5 min read
323

Trace downstream datasets after an upstream correction

A source table was wrong for two days.

5 min read
324

Prevent starvation in a priority work service

Urgent jobs continually arrive and normal jobs never run.

5 min read
325

Evaluate dependent feature flags consistently within a request

A request reads several feature flags while their configuration changes.

5 min read
326

Count products on warehouse shelves

Design a camera-based shelf counting service that reports inventory estimates without treating occluded products as absent.

5 min read
327

Recover reading order from complex documents

Design a model that orders text blocks in newsletters with columns, captions and sidebars before downstream summarization.

5 min read
328

Detect road-surface damage from fleet video

Design a service that turns fleet-camera video into a deduplicated road-repair inspection queue.

5 min read
329

Align supplied subtitles to speech

Design a service that timestamps an existing transcript against an audio recording and flags text that was never spoken.

5 min read
330

Generate bounded pronunciation practice feedback

Design pronunciation feedback for a language-learning exercise with a known target sentence.

5 min read
331

Segment speech and music in long recordings

Build an offline segmentation service that identifies speech-only, music-only, overlap and silence regions.

5 min read
332

Track anonymous objects through a camera view

Design single-camera tracking that counts objects crossing a line without counting the same object every frame.

5 min read
333

Restore scanned images without inventing evidence

Design a scan-cleanup service that removes noise while preserving small text and original content.

5 min read
334

Find reused image crops across a collection

Design retrieval for copied subregions of images despite resizing, cropping and compression.

5 min read
335

Segment operating regimes in sensor histories

Design an offline service that separates normal operating modes before analysts compare equipment behavior.

5 min read
336

Train a classifier from conflicting labeling rules

Design a training pipeline when experts provide noisy rules instead of a large hand-labeled dataset.

5 min read
337

Control confirmation bias in pseudo-labeling

Design a semi-supervised training loop that uses unlabeled images without amplifying its own mistakes.

5 min read
338

Balance competing tasks in one model

Design a shared model that predicts product category and shipping weight without letting one objective dominate training.

5 min read
339

Add new classes without forgetting old ones

Design a classifier update process that introduces new product categories while preserving old-category accuracy.

5 min read
340

Choose which edge images to upload for learning

Design an edge-camera sampling policy under a strict upload budget while keeping an unbiased evaluation stream.

5 min read
341

Design a vision cascade with early exits

Serve easy image classifications cheaply while routing difficult examples to a larger model under a latency budget.

5 min read
342

Recognize known products and reject unknown ones

Design visual product recognition that can say unknown when a package is outside the training catalog.

5 min read
343

Evaluate learned image compression for a product

Design an image-compression experiment that reduces storage without damaging text, edges or downstream recognition.

5 min read
344

Discover and name emerging support themes

Design an analyst tool that groups support messages into emerging themes without treating generated cluster names as ground truth.

5 min read
345

Mine hard negatives without training on false negatives

Design a retrieval-training data pipeline that improves difficult distinctions while protecting genuinely relevant alternatives.

5 min read
346

Distill a slow reranker into a retrieval model

Design a training and evaluation plan to transfer a costly query-document scorer into a low-latency first-stage retriever.

5 min read
347

Ground visual answers in image regions

Design a question-answering assistant that points to supporting image regions and abstains when visual evidence is insufficient.

5 min read
348

Serve tabular models when missingness patterns change

Design a release gate for a tabular predictor when a newly onboarded source omits fields that were usually present in training.

5 min read
349

Serve forecast intervals with coverage monitoring

Design an operational forecasting service that exposes calibrated intervals rather than only point predictions.

5 min read
350

Migrate an embedding model without mixing vector spaces

Design a safe rollout from one document embedding model to another while search remains available.

5 min read
351

Measure monotonic association with ranks

Two model scores have different scales.

5 min read
352

Explain ranking agreement through concordant pairs

Compare two rankings using Kendall correlation and explain what changes when there are ties.

5 min read
353

Update uncertainty over several category probabilities

Use a Dirichlet prior to estimate category proportions from a small multinomial sample.

5 min read
354

Use Student's t when estimating a mean

Explain a t interval for a small sample and the assumptions that make it exact.

5 min read
355

Explain why naive Bayes can overcount evidence

Derive a two-feature naive Bayes decision and show how duplicated features distort confidence.

5 min read
356

Interpret agreement beyond a raw percentage

Calculate Cohen's kappa for two annotators and explain why it is not a universal label-quality score.

5 min read
357

Solve one-to-one matching without greedy mistakes

Assign workers to tasks at minimum total cost and show why choosing the cheapest available pair can fail.

5 min read
358

Use low-discrepancy samples for integration

Explain when a Sobol sequence can improve numerical integration and how its error assessment differs from independent Monte Carlo.

5 min read
359

Separate latent components with independent component analysis

Explain when ICA can recover mixed signals and which ambiguities remain even in an ideal setting.

5 min read
360

Interpret nonnegative matrix factorization

Factor a nonnegative count matrix into additive components and explain why the factors are not uniquely determined.

5 min read
361

Stabilize a noisy covariance estimate

Explain covariance shrinkage when feature count is large relative to sample size.

5 min read
362

Connect two feature views with canonical correlation

Explain how CCA finds related directions in two views and why high training correlation can be misleading.

5 min read
363

Fit a monotone curve by pooling violations

Fit nondecreasing predictions to a small ordered sequence and explain isotonic regression's limits.

5 min read
364

Understand CTC paths, blanks and repeated labels

Explain how CTC maps frame-level paths to a shorter label sequence and why greedy decoding need not maximize sequence probability.

5 min read
365

Calculate a convolutional network's receptive field

Calculate receptive field and effective stride through a stack of convolutions, stating padding assumptions.

5 min read
366

Reason about transposed convolution output shape

Explain transposed convolution shape arithmetic and why it is not generally the inverse of a convolution.

5 min read
367

Derive inverted dropout and its variance

Explain the scaling used by inverted dropout and what it preserves during training.

5 min read
368

Distinguish weight decay from an L2 gradient in Adam

Explain why adding an L2 penalty to an adaptive optimizer is not generally equivalent to decoupled weight decay.

5 min read
369

Calculate label-smoothed targets and their trade-offs

Explain multiclass label smoothing and distinguish two conventions for distributing the smoothing mass.

5 min read
370

Work through mixup training

Explain input and target interpolation in mixup and when the interpolated examples may be inappropriate.

5 min read
371

Learn a mean and input-dependent variance

Derive a Gaussian negative log-likelihood loss when prediction noise changes with the input.

5 min read
372

Connect Fisher information to estimation precision

Calculate Fisher information for a normal mean with known variance and explain the Cramer–Rao bound's scope.

5 min read
373

Use KKT conditions to identify an active constraint

Solve a simple constrained optimization problem and explain complementarity.

5 min read
374

Explain optimism in a bandit selection rule

Work through a simple upper-confidence selection rule and contrast it with always choosing the highest observed mean.

5 min read
375

Estimate variance from leave-one-out fits

Compute a jackknife variance estimate for a sample mean and explain why the leave-one-out estimates are not independent samples.

5 min read
376

Resolve customer OAuth refresh races

A customer integration intermittently loses access after concurrent jobs refresh the same credential.

5 min read
377

Validate customer deprovisioning end to end

A customer's identity provider says a user was disabled, but the user can still access the product.

5 min read
378

Agree on Unicode identifier matching

Two customer systems display the same name but fail to join records.

5 min read
379

Debug webhook signatures and replay windows

A customer reports valid webhooks rejected after a proxy change.

5 min read
380

Diagnose unstable outbound addresses

A customer's allowlist intermittently blocks an integration after autoscaling.

5 min read
381

Reconcile event order across unsynchronized systems

A customer's timeline shows a response occurring before its request.

5 min read
382

Recover a partially accepted customer import

A customer uploads 100,000 records and receives a timeout after some records were accepted.

5 min read
383

Map soft deletion across an integration

A customer deletes an item in one system but it reappears after the next sync.

5 min read
384

Prevent numeric identifier corruption

A customer's long account IDs change after passing through a browser or spreadsheet.

5 min read
385

Set safe archive-import limits

A customer archive is small to upload but exhausts memory during extraction.

5 min read
386

Separate browser CORS failures from API failures

A customer's browser integration fails while the same API call works from a command-line client.

5 min read
387

Plan a backfill under a shared API quota

A customer needs a historical backfill while daily sync must remain responsive under one provider quota.

5 min read
388

Debug with redacted customer evidence

A production failure needs a reproducible sample, but the customer cannot share raw sensitive records.

5 min read
389

Resolve conflicting customer retention settings

Two customer teams request incompatible retention periods for the same integration data.

5 min read
390

Find configuration drift between customer environments

A workflow succeeds in staging but fails in one production tenant despite identical application versions.

5 min read
391

Agree on daylight-saving behavior for scheduled jobs

A customer's daily report runs twice or not at all around clock changes.

5 min read
392

Handle conflicting customer edits without silent loss

Two customer operators edit the same record and one person's changes disappear.

5 min read
393

Debug a customer's cross-account cloud role

A customer has granted a cloud role, but the integration still receives access denied.

5 min read
394

Rotate a customer integration credential without downtime

A customer must replace a service credential while scheduled work continues.

5 min read
395

Recover interrupted large customer uploads

A customer repeatedly restarts a multi-gigabyte upload after network interruptions.

5 min read
396

Define null, empty and absent field semantics

A customer connector clears fields unexpectedly because two APIs disagree about null, empty strings and omitted fields.

5 min read
397

Handle missing versions in customer change events

A customer's event stream delivers versions 21 and 23 but never 22.

5 min read
398

Diagnose payload content-type mismatches

An integration suddenly fails parsing JSON even though the endpoint returns HTTP 200.

5 min read
399

Agree on the customer's latency measurement boundary

Your dashboard meets the latency target but the customer reports slow workflows.

5 min read
400

Turn a customer runbook into verifiable operations

A handover document exists, but customer operators cannot reliably recover common failures.

5 min read
401

Publish database changes through a transactional outbox

A service commits an order but crashes before publishing its event.

5 min read
402

Protect a cross-row invariant from write skew

Two operators can independently disable service replicas, but at least one replica must remain enabled.

5 min read
403

Reduce read-tail latency with bounded hedging

A replicated read service has occasional slow replicas.

5 min read
404

Isolate slow dependencies with bulkheads

One optional downstream service consumes every worker and makes unrelated endpoints fail.

5 min read
405

Adapt in-flight limits from latency feedback

A service's safe concurrency changes with request cost.

5 min read
406

Aggregate many downstream reads under one deadline

An endpoint fans out to 100 shards.

5 min read
407

Process leased queue messages without duplicate effects

A task runs longer than its queue visibility timeout and another worker receives it.

5 min read
408

Set a defensible idempotency retention window

An API deduplicates retries for one day.

5 min read
409

Correlate asynchronous callbacks to the right workflow attempt

An external system calls back hours after a workflow task timed out and retried.

5 min read
410

Track email delivery failures and suppression

Build an email-status service that distinguishes send acceptance, delivery, bounce and complaint while avoiding repeated sends to invalid addresses.

5 min read
411

Fetch link previews without trusting arbitrary URLs

A chat app wants titles and thumbnails for user-supplied URLs.

5 min read
412

Emit stable geofence entry and exit events

GPS observations oscillate near a boundary and produce repeated arrival notifications.

5 min read
413

Insert a rider into an existing pooled route

Match a new ride request to vehicles without violating existing riders' capacity, pickup or detour promises.

5 min read
414

Reconcile parking-space occupancy from conflicting sensors

A parking service receives gate counts and per-space sensors that disagree.

5 min read
415

Run an authoritative multiplayer simulation loop

Design a server simulation that receives irregular client inputs while maintaining reproducible game-state progression.

5 min read
416

Publish seasonal rankings with explicit tie rules

Design a leaderboard with tied scores, late score updates and a season-close deadline that users can audit.

5 min read
417

Copy a changing directory tree with a resumable manifest

Move millions of files between stores while failures and source changes occur.

5 min read
418

Recover from missed filesystem watch events

A file-indexing service relies on change notifications, but its event queue overflows.

5 min read
419

Evolve a binary message format safely

Old and new clients exchange serialized messages during a rolling upgrade.

5 min read
420

Enforce purpose-specific consent in asynchronous processing

A user revokes permission while data is queued for an optional analytics job.

5 min read
421

Batch warehouse picks under route and cart constraints

A warehouse wants shorter picking routes without mixing customer orders or overloading carts.

5 min read
422

Verify deployment artifacts against an identity policy

A deployment platform receives a signed container image.

5 min read
423

Roll out an authoritative DNS zone change

Change a service's DNS records across authoritative servers and explain why a successful update does not immediately move every client.

5 min read
424

Propagate backpressure through a streaming pipeline

A producer is faster than a network consumer and memory grows continuously.

5 min read
425

Serve materialized views with an explicit freshness contract

An analytics dashboard reads precomputed results.

5 min read
426

Design an always-on wake-word detector

Design an on-device detector that wakes a voice assistant without constantly activating on television audio.

5 min read
427

Remove loudspeaker echo without removing the user

Design echo cancellation for a voice assistant that must hear a person while playing audio.

5 min read
428

Enhance noisy speech for transcription

Build a noise-reduction stage for uploaded interview recordings while preserving names and quiet syllables.

5 min read
429

Verify a consenting enrolled speaker

Design a speaker-verification feature that checks a claimed enrolled identity and provides a non-biometric fallback.

5 min read
430

Estimate motion between video frames

Design a batch optical-flow service for an editor that needs per-pixel motion and uncertainty masks.

5 min read
431

Detect audio and video synchronization drift

Design a quality gate that flags out-of-sync talking-head uploads before publication.

5 min read
432

Serve monocular depth with honest scale limits

Design depth estimates from a single photograph for background effects, without promising reliable distances in meters.

5 min read
433

Design stereo depth from calibrated cameras

Design a stereo-depth service for a fixed camera rig and explain the effect of disparity error.

5 min read
434

Design a mask-controlled image repair tool

Build a tool that fills a user-selected damaged region while preserving every unmasked pixel.

5 min read
435

Design a panorama stitching service

Combine overlapping travel photographs into a panorama and reject inconsistent geometry gracefully.

5 min read
436

Colorize grayscale images without claiming factual recovery

Design a colorization tool that offers plausible alternatives and preserves the original grayscale asset.

5 min read
437

Detect cuts and gradual transitions in video

Design shot segmentation for a media library with hard cuts, fades and camera flashes.

5 min read
438

Choose contrast preprocessing for document OCR

Design a preprocessing decision stage that improves faint scans without destroying already readable text.

5 min read
439

Transcribe mathematical formulas into structured markup

Design formula OCR that preserves fractions, superscripts and symbol relationships in scanned lecture notes.

5 min read
440

Recognize deliberate hand gestures as commands

Design a webcam gesture interface that avoids accidental repeated commands while a hand remains in position.

5 min read
441

Count exercise repetitions from pose trajectories

Design a general fitness repetition counter that explains uncertainty without giving medical assessments.

5 min read
442

Upscale video with temporal consistency

Design a video upscaling service that improves viewing quality while avoiding flicker and invented readable detail.

5 min read
443

Design a constrained text-to-SQL assistant

Let analysts ask questions of approved datasets without executing arbitrary generated SQL.

5 min read
444

Redact sensitive spans from customer text

Design a redaction pipeline for support logs that preserves useful context while minimizing missed sensitive spans.

5 min read
445

Route document regions to the right OCR model

Design OCR routing for pages containing multiple writing systems and mixed orientation.

5 min read
446

Predict flaky tests without hiding real regressions

Design a model that recommends which failing CI tests to rerun rather than automatically dismissing failures.

5 min read
447

Rank likely causes of build failures

Design a developer assistant that groups failed builds and suggests likely causes with evidence links.

5 min read
448

Forecast demand for proactive capacity changes

Design a forecasting layer that prepares capacity before a service load spike, with a reactive fallback.

5 min read
449

Extract evidence-backed relations from documents

Build a pipeline that extracts organization–supplier relationships while preserving the sentence that supports each claim.

5 min read
450

Estimate sound direction from microphone delays

Design a microphone-array feature that points toward an active speaker without claiming to identify them.

5 min read
451

Derive waiting time for independent successes

How many independent attempts should a worker expect before its first success, and when is that model misleading?.

5 min read
452

Explain exponential waiting times

Why does an exponential waiting model say past waiting does not change the remaining wait?.

5 min read
453

Update a Poisson rate with a Gamma prior

Estimate an event rate from counts and exposure while keeping uncertainty explicit.

5 min read
454

Model counts whose variance exceeds the mean

A count series has mean 4 and variance 12.

5 min read
455

Derive the maximum of uniform samples

For independent Uniform(0,1) samples, derive the distribution and mean of their maximum.

5 min read
456

Estimate time to observe every category

How many independent draws are needed on average to see every equally likely category?.

5 min read
457

Estimate identifier collision probability

Estimate the risk of at least one collision when assigning random identifiers from a finite space.

5 min read
458

Separate within-group and between-group variance

Explain how two stable populations can produce a variable combined metric.

5 min read
459

Reduce Monte Carlo variance with a control variate

Estimate E[X] using a correlated variable Y whose expectation is known.

5 min read
460

Use antithetic pairs without assuming they always help

Explain when paired samples U and 1−U reduce simulation variance.

5 min read
461

Design a valid rejection sampler

Sample from an unnormalized density using a proposal and a dominating envelope.

5 min read
462

Construct samples with an inverse CDF

Generate samples from an exponential distribution and explain how inverse-CDF sampling extends to discrete distributions.

5 min read
463

Bound deviations using only finite variance

How much can you say about a random variable when you know only its mean and variance?.

5 min read
464

Use a bounded-sample concentration bound

Choose a sample size for a bounded metric without assuming a normal distribution.

5 min read
465

Derive a scalar Kalman measurement update

Combine a noisy prediction and measurement with explicit uncertainty.

5 min read
466

Explain particle-filter weight collapse

Track a nonlinear hidden state with weighted particles and decide when resampling is needed.

5 min read
467

Derive stability of an AR(1) process

Explain when Xt=φXt−1+εt has a stationary variance.

5 min read
468

Align time series with dynamic time warping

Compare two sequences that express similar shapes at different speeds.

5 min read
469

Explain aliasing in sampled signals

Why can a sampled signal confuse a high frequency with a lower one?.

5 min read
470

Explain FFT leakage and window trade-offs

A pure tone appears in several FFT bins.

5 min read
471

Compare linear and quadratic discriminant analysis

Explain why sharing class covariance creates a linear decision boundary.

5 min read
472

Trace one AdaBoost reweighting step

Show how a binary weak learner changes example weights in AdaBoost.

5 min read
473

Quantify how correlation limits bagging

Why does averaging more models eventually stop reducing variance much?.

5 min read
474

Derive the Huber loss and robust gradient

Design a regression loss that is quadratic near zero error and less sensitive to large residuals.

5 min read
475

Derive soft thresholding for an L1 penalty

Solve a quadratic-plus-L1 subproblem and explain why coefficients can become exactly zero.

5 min read
476

Debug TLS interception in a customer environment

The integration works from a laptop but fails certificate validation inside a customer container.

5 min read
477

Diagnose embedded login under cookie restrictions

A customer embeds the product in a portal and login loops in some browsers.

5 min read
478

Reconcile spreadsheet date-system offsets

Imported spreadsheet dates are consistently about four years wrong.

5 min read
479

Define locale-aware numeric imports

A customer reports that 1,234 is being interpreted as the wrong value in imported files.

5 min read
480

Resolve container architecture mismatches

A container runs on your workstation but fails with an executable-format error on customer servers.

5 min read
481

Diagnose GPU driver and runtime compatibility

A model starts on your GPU but fails in the customer cluster.

5 min read
482

Prepare a reproducible offline dependency bundle

A customer installation has no internet access but must install a Python service reproducibly.

5 min read
483

Define a trustworthy dry-run contract

A customer wants to preview a bulk configuration change without causing external effects.

5 min read
484

Specify cancellation of partially executed batches

A customer cancels an import after some records have already triggered external actions.

5 min read
485

Join customer datasets with scoped pseudonyms

Two approved customer datasets must be joined without exposing raw account identifiers to analysts.

5 min read
486

Integrate customer-managed encryption keys

A customer requires their own key controls for stored exports.

5 min read
487

Replace fragile long HTTP requests with jobs

A customer proxy closes requests after a fixed interval while reports continue running.

5 min read
488

Make customer realtime connections recoverable

A customer portal loses realtime updates when a corporate proxy restarts.

5 min read
489

Control drift in shared reference data

A customer changes product classifications and historical reports unexpectedly change.

5 min read
490

Resolve customer identifier namespace collisions

Two acquired business units both use account ID 123.

5 min read
491

Align reporting to a customer fiscal calendar

The customer uses a 4-4-5 calendar and your monthly dashboard disagrees with their reports.

5 min read
492

Plan a customer load test with stop conditions

A customer wants to prove capacity in their environment without disrupting other tenants.

5 min read
493

Separate product entitlements from authentication

A signed-in customer can see a feature their contract does not enable.

5 min read
494

Validate transactional email before customer launch

Invitations work in your test mailbox but disappear in the customer organization.

5 min read
495

Explain deletion blocked by immutable storage

A customer deletion job reports failures because some objects are under a configured retention lock.

5 min read
496

Fix path-encoding mismatches in integrations

A customer document named with a slash or percent sign resolves to the wrong resource.

5 min read
497

Make exported PDFs portable across customer machines

A report looks correct locally but shows missing characters on customer machines.

5 min read
498

Resolve database collation disagreements

A customer import rejects names that appear distinct in the UI.

5 min read
499

Debug compressed HTTP payload contracts

A customer client receives unreadable bytes from an endpoint that works in your browser.

5 min read
500

Reconcile stale customer downloads with cache validators

A customer repeatedly downloads an old report after regeneration.

5 min read
501

Keep agent tool calls compatible across schema changes

An agent may pause for hours between planning a tool call and executing it. Design a tool registry that survives a breaking schema release without silently changing the requested action.

3 min read
502

Contain prompt injection in a tool-using research agent

A research agent reads public pages and can save notes to an internal workspace. A retrieved page tells it to upload private files. Design the boundary that prevents this instruction from becoming an authorized action.

3 min read
503

Consolidate agent memory without turning guesses into facts

An assistant accumulates notes across projects. Design a memory consolidation service that retains useful preferences while handling contradictions, expired facts and deletion requests.

3 min read
504

Stop an agent that repeats actions without making progress

An agent alternates between searching and reopening the same documents. Design termination controls that bound cost while still allowing useful retries.

3 min read
505

Handle tool results that exceed an agent context budget

A database tool returns a million rows when the agent expected a short answer. Design a result protocol that bounds memory and model context without pretending a partial result is complete.

3 min read
506

Design tenant-isolated LLM prefix caching

A hosted model repeatedly processes shared instructions and private customer documents. Design a prefix cache that saves prefill work without reusing incompatible or unauthorized state.

3 min read
507

Decide when speculative decoding helps serving latency

A small draft model proposes tokens for a larger target model to verify. Design a serving policy that enables speculation only when it improves latency without changing the intended sampling distribution.

3 min read
508

Admit LLM requests using a KV-cache memory budget

A model fits on a GPU but long concurrent requests cause out-of-memory failures during decoding. Design admission control around growing attention key/value state.

3 min read
509

Serve many LoRA adapters on a shared model fleet

A service hosts hundreds of customer adapters on one base model family. Design routing and adapter caching so a cold adapter does not stall every tenant or contaminate another tenant’s output.

3 min read
510

Separate LLM prefill and decode without losing the handoff

Long prompts disrupt token streaming for existing requests. Design separate prefill and decode pools, including transfer of attention state and recovery from failed handoffs.

3 min read
511

Compute useful facet counts without leaking hidden results

A product search offers brand, size and color filters. Design facet counts that show useful alternatives while respecting visibility rules and remaining consistent with the result list.

3 min read
512

Compare two rankers with a controlled interleaving test

Two search rankers reorder similar candidates. Design a small online interleaving experiment and explain what its click preference can and cannot establish.

3 min read
513

Retrieve nearest neighbors under selective filters

A vector search must return ten relevant documents that match tenant, language and access filters. Design retrieval when only a tiny fraction of the index is eligible.

3 min read
514

Recommend compatible accessories rather than substitutes

A customer viewing a camera wants useful accessories, not more cameras. Design recommendations that distinguish complements from substitutes and enforce product compatibility.

3 min read
515

Explain search results using verifiable evidence

A search product wants to show why a document matched a query. Design concise explanations that stay truthful when ranking uses embeddings, popularity and personalized signals.

3 min read
516

Design an adaptive jitter buffer for live speech

Voice packets arrive out of order with variable delay. Design a receiver that smooths playback without adding excessive conversational latency.

3 min read
517

Detect when a speaker has finished their turn

A voice assistant interrupts users during pauses yet feels slow after short commands. Design endpointing that decides when to respond, rather than merely whether speech is present.

3 min read
518

Stop streaming speech cleanly when the user interrupts

A voice assistant generates text and speech ahead of playback. Design barge-in so an interruption stops old audio and prevents late chunks from leaking into the next response.

3 min read
519

Translate live speech with a bounded delay

A live event needs translated captions before each speaker finishes a sentence. Design a streaming translation pipeline that controls latency without repeatedly rewriting committed text.

3 min read
520

Allocate video layers for a constrained conference receiver

A video conference receiver has limited downlink bandwidth while several speakers publish multiple video layers. Design SFU forwarding that preserves audio and adapts without constant quality oscillation.

3 min read
521

Split a hot key range without creating two write owners

A range-partitioned store has one overloaded partition while other servers are idle. Design an online split that preserves acknowledged writes and routes stale clients safely.

3 min read
522

Route reads with an explicit maximum staleness bound

A reporting API may return data at most five seconds old. Design replica routing that enforces this promise during replication lag and primary failover.

3 min read
523

Detect silent storage corruption with a scrub scheduler

A replicated object store rarely reads cold objects. Design periodic integrity scrubbing that detects corruption without overwhelming foreground traffic or repairing from an untrusted copy.

3 min read
524

Protect a hot cache from one-time scans

A dashboard cache works well until a nightly scan reads thousands of unique keys and evicts the hot working set. Design admission control that distinguishes a miss from a reason to retain an item.

3 min read
525

Rename a directory atomically in a distributed namespace

A distributed file service must move a directory to a new parent while clients are creating children and reading paths. Design atomic namespace semantics without copying every file.

3 min read
526

Stabilize customer browser automation after a UI redesign

A customer’s browser automation submits orders through a legacy portal with no supported write API. A redesign causes intermittent wrong-field entry. Plan a safe diagnosis and recovery.

3 min read
527

Diagnose a customer proxy that buffers streaming responses

A customer’s AI response arrives all at once after twenty seconds, although direct access streams smoothly. Investigate the proxy path and propose a measurable fix.

3 min read
528

Enforce tenant row security in an embedded analytics dashboard

A customer embeds a dashboard in its portal. Changing a browser filter reveals another tenant’s totals. Design a server-enforced fix and a rollout that proves isolation.

3 min read
529

Keep customer plugins compatible with a changing host API

A platform release passes its own tests but breaks three customer plugins. Design a compatibility program that tests the interactions customers actually depend on.

3 min read
530

Separate ERP draft creation from financial posting

A customer wants imported supplier invoices to appear automatically in an ERP, but an integration accidentally posts incomplete drafts. Design the boundary between preparation, approval and posting.

3 min read