WHOOP Interview Question

1. Design API for tinyURL.