how to choose the memoization factors ?

Revision en2, by Arunnsit, 2015-10-03 11:22:44

hello everyone! i am a newbie and trying to learn dynamic programming , i find it easy to write a recursive solution but it i find it difficult to memoize it. or you can say , that i am unable to judge on what factors dp state depends . any help would be appreciated . :)

Tags dynamic programming, memoization

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Arunnsit 2015-10-03 11:22:44 4 Tiny change: ' to judge the on what ' -> ' to judge on what '
en1 English Arunnsit 2015-10-03 11:21:42 317 Initial revision (published)