Question d’entretien chez Revolut

Homework: straightforward SQL, medium-level python.