Code Decode
A Coding Based Treasure Hunt 2018 A problem isn't completely solved as long as there is a better solution. "Hey Edwin, I have come across a coding event. I was thinking maybe you and someone else could team up to represent our school?" said my computer science teacher in school. I loved coding. I definitely said "yes". We were exposed to JAVA as a subject for a little more than a year before the event, and almost the whole class was familiar with the basic integer problems, string manipulations and 2D array traversals. However, I had solved quite a few medium level problems on HackerRank by then, purely out of interest. Although there was less than a week to prepare, I felt more than ready for it. The event was called "Code Decode". It was an inter-school (2 per team) competition; a treasure hunt, except that to get the clue to the subsequent locations, one either had to predict the output of a Java snippet using pen-and-paper, count the total...