Return every possible ordering of an array of distinct integers, where each rearrangement of all the elements counts as a separate permutation.
Loading content...