Fork me on GitHub
上一页 1 2 3 4 5 6 7 8 ··· 26 下一页
摘要: class Solution { private List ls; private int n; private LinkedList path; public List subsetsWithDup(int[] nums) { ls = new LinkedList (); path = new 阅读全文
posted @ 2019-08-22 13:16 cznczai 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 递归 class Solution { private List ls; private boolean []bool; private int n; public List subsets(int[] nums) { n = nums.length; ls = new LinkedList(); 阅读全文
posted @ 2019-08-21 12:53 cznczai 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 插值算法 处理数据极少的情况,通过插值算法来模拟产生一些新的但又比较靠谱的值来满足条件 分段插值 插值多项式 三角插值 插值法原理 plot 函数的用法: 阅读全文
posted @ 2019-08-21 09:30 cznczai 阅读(277) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1648545/201908/1648545-20190820133550003-614844358.png) ``` class Solution { private int n; private List ls; private boolean[] bool; private LinkedList path; publi 阅读全文
posted @ 2019-08-20 13:39 cznczai 阅读(94) 评论(0) 推荐(0) 编辑
摘要: class Solution { private LinkedList ans = new LinkedList(); private int n; private LinkedList path = new LinkedList(); private boolean[] bool; public 阅读全文
posted @ 2019-08-19 13:31 cznczai 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Pearson 相关系数 线性趋势 通过折线图 看趋势 正态分布检验 典型相关分析 研究两组变量(每组变量中都可能有多个指标)之间相关关系的一种多元统计方法,他能够揭示出两组变量之间的内在联系 典型相关分析 需要假设数据服从正态分布 例子 选代表:较综合,全面的衡量所在组的内在规律 ++++ 将该组 阅读全文
posted @ 2019-08-18 16:39 cznczai 阅读(1539) 评论(0) 推荐(0) 编辑
摘要: class Solution { int n; int m; int dx[] = new int[] { 1, 0, 1, 0 }; int dy[] = new int[] { 0, 1, 0, 1 }; public boolean exist(char[][] board, String w 阅读全文
posted @ 2019-08-18 13:03 cznczai 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 递归 class Solution { List ls; String[] arr = { "", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz" }; public List letterCombinations(Strin 阅读全文
posted @ 2019-08-17 10:20 cznczai 阅读(207) 评论(0) 推荐(0) 编辑
摘要: java与c++不同,java只存在值传递,不存在引用传递,不存在指针,所以,完全照搬c++用指针的方式(剑指offer第37题)来做是不行的,需要做变通。所以,在此我尝试用StringBuilder(不能直接用String,因为String是不可变对象,是被final修饰的,每次对String修改 阅读全文
posted @ 2019-08-16 15:46 cznczai 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 通过一个优先队列进行存储数据 然后每一次读数据都是输出第一个结点 中序遍历+栈模拟 阅读全文
posted @ 2019-08-16 12:38 cznczai 阅读(104) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 26 下一页