3 ms·
Aren’t you leaving out the initialization in your recursive example though?
by ummonk 2y ago
Aren’t you leaving out the initialization in your recursive example though?
- zogrodea 2y agoYou're right. I didn't notice that, but I guess the initialisation would be the caller function's responsibility or there would be a wrapper function with a default initialisation value (maybe with the recursive example nested inside the wrapper).