否则返回 true。
如果两个路径在循环中重叠,则返回1,否则返回0。
If the two paths overlap within the cycle, a 1 is returned; otherwise a 0 is returned. Here is the declaration of the udf.
返回值为零,说明是一次成功的解析,否则返回的是非零值。
The return value is zero for a successful parse, and non-zero otherwise.
It says if this is a string of length 0 or 1, I'm done. I'm going to return the answer true.
我就会返回答案为真,否则的话我得判断它。
It says, well I'm going to print out first and last just so you can see it, and then I say, gee 2 if last minus first is less than 2, that is, if there's no more than two elements left in the list, then I can just check those two elements and return the answer.
然后它计算了尾点和开始点的差,如果小于2的话,也就是说数组中的元素小于等于,我对这两个元素进行比较,然后返回结果就可以了,否则的话,我们就去寻找中值点,注意它是怎么实现的,首先这个指向一个列表的开头。
memo Otherwise I'll return the memo.
否则我会返回。
应用推荐