Gambling Interview Question 12