上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: public int test(int[] arry,int key){ int low=0; int high=arry.length-1; while(lowkey){ high=mid-1; } else return m... 阅读全文
posted @ 2019-03-03 22:16 沙漠里的小鱼 阅读(65) 评论(0) 推荐(0) 编辑
摘要: //深度遍历 private void depthQuery(Node root){ Stack stack = new Stack(); stack.push(root); while (stack.empty() ==false){ Node node = stack... 阅读全文
posted @ 2019-02-23 12:07 沙漠里的小鱼 阅读(137) 评论(0) 推荐(0) 编辑
摘要: idea切换到主分支master 然后选择自己的分支 进行Merge操作 最后进行git Repository push 操作 阅读全文
posted @ 2018-10-21 10:54 沙漠里的小鱼 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 打开idea 然后New branch 然后git Repository push 阅读全文
posted @ 2018-10-19 10:52 沙漠里的小鱼 阅读(3811) 评论(0) 推荐(0) 编辑
摘要: public Node reverse(Node root){ Node newNode = null; Node node = root; while (node !=null){ Node temp = node.next; node.next =newNode; ... 阅读全文
posted @ 2018-10-11 18:08 沙漠里的小鱼 阅读(92) 评论(0) 推荐(0) 编辑
摘要: class Node { private int data; private Node leftNode; private Node rightNode; public Node(int data, Node leftNode, Node rightNode){ this.data = data; ... 阅读全文
posted @ 2018-10-10 19:16 沙漠里的小鱼 阅读(120) 评论(0) 推荐(0) 编辑
摘要: public void mergeSort(int[] arry, int low ,int high){ if (low < high){ int middle = ( low +high)/2 ; mergeSort(arry,low,middle); mergeSort(arry,middle+... 阅读全文
posted @ 2018-10-03 15:08 沙漠里的小鱼 阅读(77) 评论(0) 推荐(0) 编辑
摘要: public static void quckSort(int[] arry,int low ,int high){ if (low = temp ){ high-- ; } arry[low] =arry[high] ; while (low < high && a... 阅读全文
posted @ 2018-10-03 15:06 沙漠里的小鱼 阅读(90) 评论(0) 推荐(0) 编辑
摘要: public void heapSort(int[] arry){ int len= arry.length -1 ; for(int i = (len-1)/2 ;i>=0 ;i--){ buildHeap(arry,i,len); } for(int i = len ;i >0 ;i--){ ... 阅读全文
posted @ 2018-10-03 10:28 沙漠里的小鱼 阅读(69) 评论(0) 推荐(0) 编辑
摘要: public class CglibProxy implements MethodInterceptor { private Object target; public Object createProxy(Object target) { this.target = target; Enhancer enhancer = new Enhan... 阅读全文
posted @ 2017-10-19 16:57 沙漠里的小鱼 阅读(116) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页