Pergunta de entrevista da empresa 2-Sigma

dynamic programming and code in python