The result of the present computation depended on the partial results before it, so in each successive recursive call, we pass those results forward.
当前计算的结果依赖于之前的部分结果,所以,在每次后续递归调用中,我们向前传递那些结果。
It is caused by recursively descending a composite data structure in such a way that, sometimes, more than one step in the descent is taken in a single recursive call.
它是由递归下行复合数据结构引起的,这种下行方式有时在一次递归调用中要下行多级。
If you evaluate print_report_i, you will see that there is nothing further that happens in the function after the recursive call.
如果仔细观察print _ report_i,您会发现在函数中递归调用之后没有再进一步发生任何事情。
应用推荐