3 ms·
The problem he states is really not for the algorithm he fails to actually explain. The algorithm only makes sense if you require the output to be in order (and
by tripzilch 7y ago
The problem he states is really not for the algorithm he fails to actually explain. The algorithm only makes sense if you require the output to be in order (and you need a really large sample). The part where he suggests shuffling the output afterwards is absurd; if you wanted random order, there are much simpler algorithms.