Train on multi-stage systems engineering drills instead of whiteboard puzzles: injected-clock rate limiters, sentinel-safe LRU+TTL caches, DAG wave schedulers, deterministic SHA-256 hash rings, and scaling benchmarks.
| Interview Archetype | Puzzle Format | Practical Systems Kata | Signal Tested | Time-to-Signal | Common Failure Traps |
|---|---|---|---|---|---|
| 1. Quota & Rate Control | Sliding window max sum | Multi-tenant Token Bucket + RPM/TPM reservation | Clock injection & atomic multi-bucket state | 20–30 min | Draining tokens on rejected oversized calls; wall-clock skew |
| 2. Stateful Caching | Classic Doubly-Linked-List LRU | LRU + TTL + Snapshot/Rollback Cache | Miss-vs-None sentinel safety & eviction order |
25–35 min | Treating cached None as miss; O(N) expiry scans |
| 3. Workflow Orchestration | Course Schedule I / II | DAG Scheduler with parallel waves & cycle trace | Deterministic tie-breaking & cycle path extraction | 20–30 min | Unordered sets causing flaky order; recursion limit on 5k nodes |
| 4. Telemetry & Schemas | String parsing / bracket check | Resilient JSONL aggregator & tool schema validator | Defensive parsing under corrupt & partial inputs | 20–25 min | Crashing on null latencies; Python isinstance(True, int) |
| 5. Routing & Sharding | Trie insert/search | Prefix Trie with :param LRU & SHA-256 hash ring |
Backtracking precedence & deterministic hashing | 30–40 min | Using salted built-in hash(); duplicate physical replicas |
| 6. Distributed Resilience | State transition DP | Circuit Breaker, Merkle Diff Sync & Retry Budget | Bounded retries, subtree pruning & probe caps | 30–45 min | Half-open probe floods; positional Merkle shift invalidation |
Edit TokenBucketLimiter below. Tests execute inside an isolated Web Worker with a
1500ms execution timeout and a deterministic injected clock() function.
| Capability | Free Browser Demo (This Page) | $7.00 Pro CLI Kit (Polar.sh .zip) |
|---|---|---|
| Included Drills | 1 single-stage browser drill (01 Token Bucket) |
All 10 multi-stage systems katas (30 stages total) |
| Runner & Isolation | In-browser Web Worker + 1500ms timeout | kata_runner.py CLI (list, init, test, bench, grade-all) with strict subprocess isolation |
| Scaling Benchmarks | Functional correctness only | N=100 vs N=5000 median latency & scaling ratio checks to catch O(N^2) traps |
| Reference Solutions & Traps | Kata 01 JS reference toggle | Full Python 3.10+ reference solutions + HINTS_AND_TRAPS.md + JSON/Markdown scorecards |