0
What do you call this technique if it has a name.
https://code.sololearn.com/cryno4L3U1pA/?ref=app Try passing 10,000. It will be solved in nano seconds.
1 ответ
0
So memoization wasn't for functions only?
By the way, it is capable of numbers until 380,000 but takes seconds to finish.