What do you call this technique if it has a name. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
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