Design a URL shortener (like bit.ly)
Design a URL shortener like bit.ly or TinyURL: users submit a long URL and get a short link such as https://sho.rt/aZ3kQ9x; anyone opening the short link is redirected to the original URL.
A typical framing: "100 million new links per month, and reads outnumber writes 100 to 1. Redirects must be fast everywhere in the world. Links can have a custom alias and an expiry, and we want click analytics."