Dp problem

Revision en1, by icpc_expert, 2018-06-29 20:51:30

Problem Can anybody help me on how to figure out the dp behind this problem. I have already written a recursive solution for this problem. Also can anybody help me how to see after writing the recursive code that what are the states of the dp.I got too much difficulty in determining the states of a dp solution.

Tags #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English icpc_expert 2018-06-29 20:51:30 371 Initial revision (published)