Re:Node.js 14 is over 20x faster than Python3.8 for fib(n)
by contravariant on Tuesday February 09, 2021 @03:34PM
(#26082103)
With a better chosen dp approach you can even solve it in O(log(n)). Though at that point the extra cost of multiplying large integers becomes non-negligible.
[ Parent
| on HN ]