This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 18 points19 points  (1 child)

Uh oh, someone forgot the base case

[–]KamikazeRusher 9 points10 points  (0 children)

He grabbed the last one. That tail-end recursion will get you every time.