Revolut Interview Question

Live coding: write a URL shortener in java using TDD.