Can anyone help me solve this hackerrank problem?

Revision en1, by cronenberg, 2017-07-24 17:16:23

this problem was asked in the last week of code of hackerrank, I am not able to understand the editorial can anyone help me with it?

Tags #hackerrank, #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English cronenberg 2017-07-24 20:21:15 0 (published)
en2 English cronenberg 2017-07-24 20:21:01 22 (saved to drafts)
en1 English cronenberg 2017-07-24 17:16:23 270 Initial revision (published)