Solving the Google Foobar Challenges


One summer afternoon in 2015, I did a Google search for “go to considered harmful”, and was invited to participate in the Google Foobar code challenge. It was a fun way to kill a whole bunch of hours and graph paper over a couple weeks.

Here are the problems I solved, and one I didn’t. All problem descriptions are Google’s, all answers are mine.