Question d’entretien chez Leap Tools

Implement an algorithm according to these specifications.