Can anyone help me solve this hackerrank problem?

Revision en2, by cronenberg, 2017-07-24 20:21:01

this problem was asked in the last week of code of hackerrank, I am having a hard time understanding 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)