every note, in one binder ✎

Developer interview notes & guides — Page 2

Focused explanations and longer guides, with worked scenarios, common mistakes and interview exercises across every chapter.

read ✓System Design · hard

System Design: Bloom Filters

Size a Bloom filter from item count and target error rate, see why it never gives false negatives, and know when it's the wrong tool.

~8 min readread →
read ✓System Design · hard

System Design: Presence Tracking

Build online indicators for 10 million users: heartbeats with TTLs, why the TTL must cover lost beats, and fan-out only to who's watching.

~7 min readread →
read ✓System Design · hard

System Design: Time-Series Metrics

Design a metrics store: count series before samples, keep labels bounded, roll up with retention tiers, and never average percentiles.

~7 min readread →
read ✓System Design · mid

System Design: URL Shortener

Size a URL shortener from 100M links a month, pick between counter-based and random codes, and keep a 4,000 req/s redirect path cheap.

~7 min readread →
read ✓TypeScript · mid

TypeScript Enums vs Union Types

What TypeScript enums compile to, why string enums reject plain strings from JSON, and when an as const object beats both options.

~6 min readread →
read ✓TypeScript · mid

TypeScript Index Signatures and Constraints

How index signatures constrain every property, why reads skip undefined until noUncheckedIndexedAccess, and when Record or Map fits better.

~6 min readread →
read ✓TypeScript · hard

TypeScript Key Remapping in Mapped Types

Rename keys with as clauses, drop keys by mapping to never, map over a union of events, and spot the string & K and optional-method traps.

~6 min readread →
read ✓TypeScript · mid

TypeScript Template Literal Types

Build string types from unions, parse route parameters with infer, see what ${number} really accepts, and know where these types stop helping.

~6 min readread →
esc