Meta Interview Question

Programming question - genera rate all permutations