Pergunta de entrevista da empresa Microsoft

How to shuffle a deck of card? (collage interview)

Resposta da entrevista

Sigiloso

7 de fev. de 2012

here is my weird solution inspired from my simulation clas. assign numbers to each card 1 to N. and generate random numbers, say 1 to 10 billion. assign each card number a randomly generated number and rank random numbers from min to max. here you have shuflled cards.