Pregunta de entrevista de Google

Q. Dynamic Programming and Tree related.