Pregunta de entrevista de Amazon

heaps, graphs, trees using dynamic programming