4 ms·
I'm sorry, did you say there's only one way to deal with each integer in a set of numbers? Admittedly I don't know very much about python, but it seems that at
by johnbender 17y ago
I'm sorry, did you say there's only one way to deal with each integer in a set of numbers? Admittedly I don't know very much about python, but it seems that at the very least you could do this recursively.
- gaius 17y agoNeither Python nor Ruby AFAIK have tail-call optimization.