Design TikTok's Sub-50ms Two-Tower Recommendation Engine (Why Collaborative Filtering Fails Cold Start)
Architect a 4-stage retrieval and MMoE ranking funnel serving 1B DAU across 100M+ videos with 5-second Flink streaming features.
Design sub-50ms recommendation funnels, real-time fraud classifiers, and grounded GenAI pipelines with explicit offline-to-online feature parity.
Select any question below to inspect its interactive SVG 4-stage retrieval, feature & ranking topology, trace happy-path vs. failure flows, and study Principal-level defenses.
Architect a 4-stage retrieval and MMoE ranking funnel serving 1B DAU across 100M+ videos with 5-second Flink streaming features.
Combine Flink sliding-window velocity features, focal-loss GBDT/Deep ensembles, and false-positive cost-weighted decision thresholds.
Switch between specialized interview tracks or jump to the 100-problem System Design catalog.
High-stakes conflict, Sev-1 outages, influence without authority, and Principal scope defense.
Overnight metric drops, two-sided marketplace trade-offs, North Star trees, and AI product guardrails.
Thread-safe caches, lock-free rate limiters, idempotent consumers, and bounded-memory stream sketches.
MECE profitability turnarounds, unit-economics cannibalization, PE due diligence, and market entry math.
3-statement shock cascades, 5-minute paper LBOs, M&A accretion/dilution rules, and WACC terminal traps.
STRIDE trust boundaries, OAuth2 token theft defenses, multi-tenant KMS isolation, and CI/CD supply chain security.
Zero-downtime 40-service database migrations, critical-path slip recovery, and cross-org cutover gates.
High-stress incident war rooms, autonomous vehicle accessibility handoffs, and AI confidence states.
Mid-deal champion departures, B2B PLG activation drops, multi-threaded executive mapping, and NDR expansion.
Paid CAC saturation recovery, viral K-factor referral loops, geo-holdout incrementality, and LTV payback math.
Multi-echelon safety stock pooling, overseas supplier disruption buffers, and warehouse throughput bottlenecks.
Net Dollar Retention cohort SQL, Simpson's paradox funnel traps, CUPED variance reduction, and star schemas.
Each ML & GenAI Design question is modeled as an interactive 4-Stage Retrieval, Feature & Ranking Topology with 3 flow traces, Senior/Staff/Principal lenses, a First-Principles "Why" Inspector, a Signal-vs-Trap rubric, and curveball follow-up defenses.
Our worked blueprints target Senior (L5), Staff (L6), and Principal/Executive (L7+) interview loops at top technology, finance, and consulting firms.