31 ms·
This is the reason why I'm never get excited about recursion. I hardly ever find a real world application for it aside from a tree transversal. Most examples
by ericmoritz 15y ago
This is the reason why I'm never get excited about recursion. I hardly ever find a real world application for it aside from a tree transversal.
Most examples are toys (fib, towers of hanoi, maze solving) or problems that are already solved, sorting, searching, etc.