Pergunta de entrevista da empresa Meta

Dynamic programming is very important.