by Turing_Machine · 4y ago · 0 comments
The cause of failure in this case has nothing to do with recursion.
IMHO we don't teach compsci kids enough about the costs of things - new vs. * for example
It's also useful to learn that despite the love of recursion among computer scientists, in practice it's barely if ever a good idea.