Pergunta de entrevista da empresa ABC

Tricky Dynamic programming questions were asked