
Algorithm/Architect/Design Pat
chenyujin999
这个作者很懒,什么都没留下…
展开
-
Singleton Design Pattern Tutorial
import java.util.Arrays;import java.util.Collections;import java.util.LinkedList; public class singeton{private static Singleton firstInstance=null; String [] scrabblleLetters={"a","a"原创 2013-10-22 23:30:09 · 695 阅读 · 0 评论 -
算法导论 part1
第二章:分治法 divide-and-conquerthe key is the number to be ordered原创 2013-10-29 00:09:54 · 626 阅读 · 0 评论 -
Insertion Sort, Merge Sort
Insertion Sort, Merge SortMerge Sort assumes that two sorted arrays as input: [1,2,3,8,9,10] could to be splited as [1,3,8], [2,9,10]; first 1 and 2 could do a comparision, the 1 will be p原创 2013-10-28 19:14:21 · 767 阅读 · 0 评论 -
HashTables - Concepts, Theory , Questions - Codophilic:
HashTables - Concepts, Theory , Questions - Codophilic: liner search binary search --the sorted data needed lgN Hash Table- O(1) --constant time search Dynamic Set: -Insert(S,x) -Dele原创 2013-11-07 22:50:21 · 964 阅读 · 0 评论