What do you call this technique if it has a name. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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.

29th Dec 2019, 12:27 AM
CASOY
CASOY - avatar
1 Answer
0
So memoization wasn't for functions only? By the way, it is capable of numbers until 380,000 but takes seconds to finish.
29th Dec 2019, 7:24 AM
CASOY
CASOY - avatar