Question d’entretien chez Meta

Programming question - genera rate all permutations