Maximize correct guesses in a hat line puzzle | Snapchat Interview Question