HubSpot Interview Question

Design a system for shortening URLs