Revolut Interview Question

Write a tinyURL from scratch - TDD approach