I need to generate all permutation of a list of integers, but doing so (the list has around 60 elements, is not practical. Is there a way to iterate through all permutations of a list, without first generating all of them?
(There are several related existing questions here, but none are duplicates: the discussions there are old and outdated, at least for the several I've found.)
60!
permutations does not sound very realistic. $\endgroup$