DP philosophy

Правка en1, от mac_n_cheese_pog, 2021-11-02 10:05:48

most of the time whenever i do dp problems.the editorial just say what to memoize.im kinda confused.why string dp requires the prefix of the previous and why in a grid we require the previous step?

can somebody kindly explain? this is the hardest thing about dp for me

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский mac_n_cheese_pog 2021-11-02 10:05:48 286 Initial revision (published)