Pergunta de entrevista da empresa Morgan Stanley

One question is hashtable, and the other is dynamic programming