引用本文: |
-
汤薇,秦华,廖瑞.一种基于数组的递归算法[J].广西科学院学报,2005,(4):202-203. [点击复制]
- Tang Wei,Qin Hua,Liao Rui.A Recursive Algorithm Based on Array[J].Journal of Guangxi Academy of Sciences,2005,(4):202-203. [点击复制]
|
|
摘要: |
以Hanoi塔问题为例,分析递归程序运行速度慢的原因,提出一种基于数组的递归算法。该算法可以使计算机程序的计算速度提高到最快。 |
关键词: 递归 算法 数组 |
DOI: |
投稿时间:2005-06-27 |
基金项目: |
|
A Recursive Algorithm Based on Array |
Tang Wei, Qin Hua, Liao Rui
|
(Center of Education and Technology, The Department of Training, Guilin Air Force Academy, Guilin, Guangxi, 541000, China) |
Abstract: |
The Hanoi tower question is used as an example to analyze the causes of slow operation of the recursive routine.A recursive algorithm based on array is presented.As shown by the tests,the recursive algorithm can speed up the computational speed of procedure. |
Key words: recursion algorithm array |