跳到主要内容

这个算法采用非递推的方法,因此不需要反复调用自身。

This algorithm uses a nonrecursive method, so it does not need to call itself repeatedly.