Pergunta de entrevista da empresa Infosys

Based on Dynamic Programming and Graphs mainly.