Pergunta de entrevista da empresa Shopee

A dynamic programming leetcode problem