Salesforce Interview Question

System design question about URL shortener