3 ms·
To understand recursion you must first understand recursion.
by cjfd 7y ago
To understand recursion you must first understand recursion.
- martin1975 7y agoThe first rule of recursion is we do not talk about recursion. The second rule of recursion is we do not talk about recursion. The third rule of recursion is without a base case, you have no recursion. The fourth rule of recursion is it breaks you in two or more pieces.
- BerislavLopac 7y agoThe fifth rule of recursion is that it is not really recursion if it isn't tail-call optimised.
- tr352 7y agoSo a recursive tree search is not really recursive?
- BerislavLopac 7y agoOh no, it is really recursive -- it's just not "real recursion" (TM). ;)
- js8 7y agoWhenever I need to think about recursion, I always refer back to the time when I understood it.