更新时间:2023-11-10 14:42:04
尾递归和尾递归优化之间存在差异。 java支持尾递归,因为它没有什么特别之处,不支持尾递归优化。
There is difference between tail recursion and tail recursion optimization. Tail recursion is supported by java because there is nothing special in it, tail recursion optimization is not supported.