DigitalOcean interview question

Design a link shortener system.