When a function calls itself in a tail-call, the method is even easier.
当函数在尾部调用中调用自己时,方法更为简单。
Then you can do it this way which I call the "head-tail" technique.
你们可以这样将其相加,我将其称为“首尾相接“技术。
How many legs does a dog have if you call its tail a "leg"?
如果你把狗尾巴称作“腿”,那狗有几条腿?
How many legs does a dog have if you call its tail a "leg"?
如果你把狗尾巴称作“腿”,那狗有几条腿?
应用推荐