write all possible values of an arrayThe algorithm library has methods for generating permutations. Specifically the example given here ...
This user does not accept Private Messages