Well, you need to save something. One simple idea:
- Use the random number generator to generate random seed.
- Create a new instance
Randomto use for shuffling using this seed - Shuffle with a modified Fisher-Yates shuffle
- Save the seed
- , . ( , , 0... (n-1) , .)
, - . , , , , "abc" "bac" "cab".