Recursive permutations problems

In the permutations problem, we started our loop from j=i, why didn’t we start the loop from 0 to the size of the current input array?

hello @nik72619c

it will create duplicate permutations if we start j from 0.