![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
biren_wang
慎独
展开
-
数学中组合的一种递归实现
数学中组合的一种递归实现 import java.util.LinkedList; import java.util.List;class My { public static List<List<Integer>> select(List<Integer> src,int count){ if(count==1){ List<List<Integer原创 2017-11-17 22:29:33 · 471 阅读 · 0 评论 -
数学排列的一种递归实现
public static List<List<Integer>> combine(List<Integer> src){ if(src.size()==1){ List<List<Integer>> temp=new ArrayList<List<Integer>>(); temp.add(src); return原创 2017-11-19 15:51:51 · 197 阅读 · 0 评论