The result is that the first game will be played with the result of the default seed, and each successive game will be played with the same deck generated with seed 1066. This code will not work because the seed is set within the loop. All of the games will be played with the same deck generated with seed 1066. Height returns the height of the tree.
Height is recursive .
Assumes a function Max that returns the maximum of its arguments. LevelNo returns the level number of the lowest leaf node in the tree. LevelNo is recursive . Assumes a function Max that returns the maximum of its arguments. The key of item has been initialized.