WHOOP interview question

1. Design API for tinyURL.