会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
佟学强
where there is a will,there is a way!All things are difficult before they are easy!
博客园
首页
新随笔
联系
管理
订阅
2016年11月23日
原创:全排列非递归算法:微软给出的算法
摘要: 关于全排列的算法研究,有很多,不论述了。采用非递归的算法,是首选。直接上传微软给出的算法: /* * 字符串全排列最优算法(非递归置换) */ public void permutation(char str[],int m,boolean duplicate){ int n = str.lengt
阅读全文
posted @ 2016-11-23 17:05 佟学强
阅读(246)
评论(0)
推荐(0)
编辑
公告