Design a URL Shortener

Medium · System Design

Design a high-throughput URL shortener comparing counter-based Base62 encoding and collision-probed hashing with hot-link caching, and implement Base62 codecs, deterministic SHA-256 probing with custom aliases, and an LRU cache with hit-rate analytics.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems