A similar problem is too much recursion.
相似的问题还包括过多的递归。
This is the reason why we use recursion.
这就是我们使用递归的原因。
This is the stop condition for the recursion.
这是递归的停止条件。
Another example of recursion at work is the following.
递归的另一个实例如下。
There is also the concept of recursion which is important.
另一个重要的概念是递归。
Be careful with your recursion.
请注意你的递归式。
Note also the use of left recursion.
还要注意向左递归的使用。
This method is not sensitive to recursion order.
此方法不区分递归顺序。
You can almost always substitute a loop for recursion.
几乎在任何情况下都可以用循环替代递归。
The combination of first and rest works well with recursion.
使用first和rest 组合实现递归效果很好。
If you still don't know what recursion is, read this sentence.
如果你还不明白什么是递归,就读这个句子。
To understand recursion, you have to understand recursion.
要理解递归,首先要理解递归。
Here's a generic loop function making recursion easier to use.
这里是一个通用的循环函数,它使得递归使用起来更加容易。
You'll use tail recursion and the XSLT translate() function to do this.
您可以使用尾递归(tail recursion)和XSLTtranslate()函数来完成这一步。
The question is, can we implement the Visitor pattern without recursion?
问题在于,我们能否在不使用递归的前提下实现访问者模式?
Now, you might ask which method is better—recursion or non-recursion?
这时你会问哪种方法更好一些呢——是递归法还是非递归法?
Is recursion the best way to implement the routine - is it necessary ?
递归是否是实现函数的最好方式,一定需要吗?
Now, you might ask which method is better - recursion or non-recursion?
这时你会问哪种方法更好一些呢——是递归法还是非递归法?
This is known as infinite recursion, and it is generally not a good idea.
这就叫无穷递归,一般这都不是个好事情哈。
The first if statement breaks the recursion if the list is empty, returning zero.
第一个if 语句在列表为空的情况下中断递归,返回零值。
Too many method calls is often indicative of a very deep or unbounded recursion.
过多的方法调用通常意味着存在非常深的递归或无限递归。
The more serious problem is the potential for polymorphic recursion in class definitions.
更严重的问题是类定义中可能存在多态递归。
Left-recursion is more efficient and, for large input sets, may be the only viable option.
向左递归更有效,而且对较大的输入集来说,这可能是惟一可行的选择。
Left-recursion is more efficient and, for large input sets, may be the only viable option.
向左递归更有效,而且对较大的输入集来说,这可能是惟一可行的选择。
应用推荐