3 ms·Your first one is one of the versions of the standard Fisher–Yates shuffle, so it does work :)by mananaysiempre 4y agoYour first one is one of the versions of the standard Fisher–Yates shuffle, so it does work :)