jeudi 21 juillet 2016

Does StdRandom.shuffle() randomly shuffle an array?

i was using quicksort and to maintain performance i had to randomly shuffle the array when i came across the code StdRandom.shuffle(array); but compiler doesnt recognise StdRandom do i need to import something?




Aucun commentaire:

Enregistrer un commentaire