Pergunta de entrevista da empresa Google

Leet code hard DSA question about dynamic programming