Cookie Clicker Alpha – Problem B – Google Code Jam 2014 Qualification Round

Introduction (Link to Question Page in Code Jam Website) Cookie Clicker is a Javascript game by Orteil, where players click on a picture of a giant cookie. Clicking on the giant cookie gives them cookies. They can spend those cookies to buy buildings. Those buildings help them get even more cookies. Like this problem, the … Continue reading Cookie Clicker Alpha – Problem B – Google Code Jam 2014 Qualification Round

Magic Trick – Problem A – Google Code Jam 2014 Qualification Round

Problem (Link to Question Page in Code Jam Website) Recently you went to a magic show. You were very impressed by one of the tricks, so you decided to try to figure out the secret behind it! The magician starts by arranging 16 cards in a square grid: 4 rows of cards, with 4 cards … Continue reading Magic Trick – Problem A – Google Code Jam 2014 Qualification Round