Question d’entretien chez Revolut

During live coding I was asked to implement url shortener on python. Also it was important to implement tests.