做自己的快乐人

路漫漫其修远兮,吾将上下而求索

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

15、1 什么叫递归

A definition in which something is defined in terms of smaller versions of inself.

15、2 使用简单变量设计递归算法

N! = N * N( N – 1 )!

15、3 汉诺塔

15、4 使用构造变量设计递归算法

15、5 使用递归还是迭代

It’s depended on two issues:

efficiency and the nature of the problem being solved.

posted on 2010-09-01 16:58  做自己的快乐人  阅读(228)  评论(0)    收藏  举报