Revolut interview question

Code an URL shortener using test driven development.