Write a code which gets an array of size N with Natural numbers in it. The code needs to give every time a differet permutation of itself.
Sigiloso
I used a rand() twice to get 2 indexes randomly every time, and put modulo (%N) on the value to be in the range of the indexes.