Pregunta de entrevista de Google

Greedy, binary tree, and graph questions.