Pergunta de entrevista da empresa Harman Contracting Services

Coding problem on hashmap and dynamic programming