DigitalOcean Interview Question

Design a url-shortener service