摘要
对“梵塔”问题的递归和非递归解进行了讨论;提出了较递归解法更好的非递归解法;给出了非递归解法的C语言程序.
The paper discusses both of the recursive and non - recursive solution of the Hanoi problem and delivers a non - recursive solution, which is better than the existed recursive one. All the source programs are given in C language.
出处
《绵阳师范学院学报》
1999年第2期21-25,共5页
Journal of Mianyang Teachers' College
关键词
梵塔问题
递归解
非递解
C语言程序
Hanoi tower problem
recursive solution
non - recursive solution
C Language program