Write a method to shuffle a deck of cards. It must be a perfect shuffle - in other words, each of the 52! permutations permutations of the deck has to be equally likely. Assume that you are given a random number generator which is perfect.
O(n)
O(n)
Run make to build and run C++ files and run Swift files. Or you can run .playground file.