Question d’entretien chez Nubank

Multi level OOP style coding question in increasing difficulty