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?
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?