|
|
|
|
|
by plusplusungood
842 days ago
|
|
I used this fact in an interview ages ago. The interviewer wanted a function, in Java, that shuffled a deck of cards such that every permutation was equally likely. I pointed out this was not possible using the standard library random functions since the seed is a long (akshually... it's 48 bits). They inexplicably hired my know-it-all ass... |
|