(Fisher-Yates Shuffling Algorithm) Research the Fisher-Yates shuffling algorithm online, then use it to reimplement the shuffle method in Fig. 11.
Fig. 10 | Card class represents a playing card

Fig. | DeckOfCards class represents a deck of playing cards


Fig. 12 | Card shuffling and dealing

Special Section: Building Your Own Computer
In the next several problems, we take a temporary diversion from the world of high-level language programming to "peel open" a computer and look at its internal structure. We introduce machine-language programming and write several machine-language programs. To make this an especially valuable experience, we then build a computer (through the technique of software-based simulation) on which you can execute your machine-language programs.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.