Optiver Interview Question

Card and dice games problems.