Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

recursion or loops for DP?

Revision en2, by 3l173_5l4y3r, 2019-09-24 18:09:45

Hey!

I thought that solving DP problems is easier using recursion until I saw this video by Errichto where he said something like using loops is easier and more efficient for hard problems. I find it impossible to solve DP problem not using recursion. So is it really easy and I need to practice more or he said that because he is top tier coder and everything for him is easy xDxD??

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English 3l173_5l4y3r 2019-09-24 18:09:45 4
en1 English 3l173_5l4y3r 2019-09-24 18:08:11 479 Initial revision (published)