Pergunta de entrevista da empresa Rubrik

Question related to dynamic programming