Given N distinct card types, how many random cards do you need do collect before you have (at least) one of each type? This program simulates this random process.
The below program demonstrates how to read an object from persistent memory. The below reads an object named "log.ser" from the specified address and assigns the value to PurchaseLog object p1. Run It Now!