Question d’entretien chez X

Its was Hackrank coding challenge