JayceLi  

2011年8月19日

摘要: package com.exuan.btreetraverse;import java.util.LinkedList;import java.util.Queue;import java.util.Stack;public class BTreeTraverse { public static void main(String[] args) { } ... 阅读全文
posted @ 2011-08-19 16:09 JayceLi 阅读(374) 评论(0) 推荐(0)
 
摘要: package com.exuan.qsort;//Time complexity//average:O(N)//best:O(NlogN)//worst:O(N2)public class QSort { public static void main(String[] args) { int[] data = {12,13,13,14,8,2,11,5,4,6,7,3... 阅读全文
posted @ 2011-08-19 11:38 JayceLi 阅读(209) 评论(0) 推荐(0)
 
摘要: package com.exuan.simplesort;public class SimpleSort { public static void main(String[] args) { int[] data = {12,10,46,3,1,5,4,7,8,9,2,0,6}; for(int i = 0; i 1; i--) { ... 阅读全文
posted @ 2011-08-19 11:37 JayceLi 阅读(157) 评论(0) 推荐(0)