Question d’entretien chez National Instruments

Sort a deck of cards.

Réponse à la question d'entretien

Utilisateur anonyme

6 mars 2016

Used an array to represent the card deck. Generate a random number between 0 and 51. Pull that card out into a variable. Generate another random number. Put that card in the first spot, and put the card in memory into the second spot. Repeat xxx number of times.