Pregunta de entrevista de Amazon

Dynamic programming and basics of programming.