Gambling Interview Question 7