79074063

Date: 2024-10-10 11:02:16
Score: 1
Natty:
Report link

What do you mean by the function itself being tail-recursive?

Yes, tail recursion is being applied to those calls. It is not to the nested calls. This avoids creating many stack frames. But as you walk right, you will still get a deep stack.

So the function is benefitting from the optimization. But only on half of your recursive calls. What do you want to call that?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What do you mean
  • High reputation (-2):
Posted by: btilly