Gambling Interview Question 18