cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

Shuffle Array

Open Josh5231 opened this issue 9 years ago • 4 comments

I just added a pull request for the javascript version of this. #1114

Josh5231 avatar Oct 10 '17 18:10 Josh5231

Made an implementation for shuffling arrays in ruby, please revise #1153 :smirk_cat:

IAmBullsaw avatar Oct 11 '17 07:10 IAmBullsaw

Can I use the Shuffle function from library (if it provided)? or I have to use some kind algorithms, like Fisher-Yates?

Z-Fikar avatar Oct 11 '17 17:10 Z-Fikar

I thought we were implementing the algorithms, not using code already in the standard library? ( shuffle_array.cpp )

MarsMSJ avatar Oct 13 '17 04:10 MarsMSJ

@MarsMSJ that is exactly the reason why I asked before.

Z-Fikar avatar Oct 13 '17 05:10 Z-Fikar