Question d’entretien chez Capital One

The coding challenge dealt with generating permutations.