期刊文献+

递归程序编写方法探讨

Recursive Programming Approach
下载PDF
导出
摘要 递归程序是一种有效而简单的程序设计方法。它使得程序的逻辑思路简洁、清晰。本文就递归程序的写法及递归程序的优化进行论述,可以用公式法和数学归纳法编写递归程序。这两种方法使递归程序的编写变得简单,同时对于递归程序存在的占用大量的系统时间和弓箭的情况,给出尾部递归的方法加以解决。 the recursive procedure is an effective and simple program design method,which makes the program simple,clear and logical thinking.In this paper,the recursive program written and recursive process optimization is discussed,can use the formula method and the method of mathematical induction to write a recursive procedure,these two methods make recursive programming becomes easy;at the same time for recursive procedures exist to occupy a large amount of time and the bow of the situation,given the tail recursion method to solve.
作者 宋金平
出处 《科技通报》 北大核心 2013年第4期88-90,共3页 Bulletin of Science and Technology
关键词 递归 公式法 数学归纳法 尾部递归 recursive formula mathematical induction tail recursion
  • 相关文献

参考文献2

二级参考文献1

  • 1张海藩,牟永敏.面向对象程序设计(第二版)[M].北京:清华大学出版社,2007:59.

共引文献41

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部