Can this be solved using DP

Revision en1, by KaliMaster, 2020-10-06 21:32:41

Can this question be solved using dp. Also can you please explain why greedy works. Thanks.

Tags #dp, #greedy

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English KaliMaster 2020-10-06 21:32:41 184 Initial revision (published)