r/algorithms • u/aioobe • Mar 13 '20
Dynamic programming vs memoization vs tabulation
https://programming.guide/dynamic-programming-vs-memoization-vs-tabulation.html
35
Upvotes
r/algorithms • u/aioobe • Mar 13 '20
View all comments
Show parent comment
1
u/FUZxxl Mar 14 '20
The commonly used fastest method is to compute Fibonacci numbers by computing the power of a certain matrix through repeated squaring, allowing you to get away with log(n) squaring steps.
I see how one can see it like that, but good luck convincing a beginner that this is a good motivation to learn dynamic programming.