Gambling Interview Question 4