Gambling Interview Question 9