Please input an integer array, and we will generate all possible permutations of the elements in the array. The number of elements in the array cannot exceed 7.
Integer array (eg. 1 2 3):
Note: there will be 5040 permutations if your array has 7 different elements. Don't input too many different values.
Note: there will be 5040 permutations if your array has 7 different elements. Don't input too many different values.