Question d’entretien chez Heyzap

Typical big O and easy algorithm