Pregunta de entrevista de Google

Straight forward grid search solve, a Mastermind solver, and a binary tree question.