会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
George-Wayne
We are the one, we are the Web United! We are striving for the perfect!
博客园
首页
新随笔
联系
管理
订阅
2014年12月17日
递归算法实例
摘要: 递归算法,是指在函数或子过程的内部,直接或者间接地调用自己的算法。举例: 已知数组 a=[1,[2,[3,[4,'null']]]],算法实现数组 b=[4,[3,[2,[1,'null']]]],代码如下: var tmp = [], a = [1,[2,[3,[4,'null']]]];fu...
阅读全文
posted @ 2014-12-17 14:51 George-Wayne
阅读(237)
评论(0)
推荐(0)
编辑
公告