r/learnprogramming • • Apr 05 '22

Name one programming/comp sci concept you never understood and if you understand it, try to explain it to them

Name a programming concept such as virtual functions, pointers, certain algorithms, etc that you always had a hard time understanding and why.

Someone else who reads yours and does understand it, try to explain it to them to help them learn

1.6k Upvotes

738 comments sorted by

View all comments

Show parent comments

2

u/Knaapje Apr 05 '22

That's memoization, not dynamic programming.

1

u/The_Crypter Apr 05 '22

What they meant was Recursion added with Memorization is dynamic programming.

0

u/Knaapje Apr 06 '22

Memoization wasn't a typo. ;) But like others have pointed out, recursion+memoization =/= dynamic programming.

1

u/The_Crypter Apr 06 '22

No, it was a typo on my part.

Where was that pointed out because all I see is people saying Memorization + Recursion= Dynamic Programming.

→ More replies (1)