05.10 Permute The Elements Of An Array

#1

I am unable to solve this problem without using any additional space and without modifying the permutation (first variant of this problem in the book). Does someone have a solution for this?

Thanks
Salman

0 Likes