Design a URL shortening platform | Amazon Interview Question