Bloomberg interview question

How will you implement the shuffle function in iPod given a random number generator (0, 1) API?

Interview Answer

Anonymous

12 Feb 2014

Knuth Fisher Yates shuffling.