Google Interview Question

Design a URL shortening service.