How does a URL shortener work?
At a high level, the URL shortener executes the following operations:
1. the server generates a unique short URL for each long URL
2. the server encodes the short URL for readability
3. the server persists the short URL in the data store
4. the server redirects the client to the original long URL against the short URL