Commit Graph

57 Commits

Author SHA1 Message Date
Ivan Li
f6f6d53b78 DFS topology sort 2019-01-30 22:03:37 +08:00
Ivan Li
efeef701d9 add graph topology test 2019-01-30 19:23:03 +08:00
Ivan Li
a5f97492c1 Kahn topology sort 2019-01-30 19:08:06 +08:00
Ivan Li
45758ee438 bag weight 2019-01-29 17:22:19 +08:00
Ivan Li
89421c0ec4 tune param 2019-01-27 23:26:22 +08:00
Ivan Li
7979515bfb Sudoku 2019-01-27 23:24:14 +08:00
Ivan Li
369ae717d1 NQueens 2019-01-27 15:12:41 +08:00
Ivan Li
87429c84b4 EightQueens 2019-01-27 15:04:01 +08:00
Ivan Li
b98a7b4306 rename isLeafNode to isEndNode because the end node maybe not a leaf node 2019-01-14 21:51:32 +08:00
Ivan Li
f3d4afe59a TrieTree and give suggestions 2019-01-14 17:48:09 +08:00
Ivan Li
eb0ba71dbb RabinKarp phase 1 2019-01-13 16:12:46 +08:00
Ivan Li
dc7e5171b1 BruteForce 2019-01-13 14:53:07 +08:00
Ivan Li
b36b6c759e fix heap sort algo 2019-01-12 20:45:41 +08:00
Ivan Li
1ac446f9c8 graph dfs and bfs 2019-01-11 17:55:51 +08:00
Ivan Li
42ecf5c158 get middle number 2019-01-10 15:56:15 +08:00
Ivan Li
ab9f58704c impl top K items 2019-01-10 13:35:55 +08:00
Ivan Li
66857c1fbc fix FileMerge logic issue 2019-01-10 12:26:57 +08:00
Ivan Li
23bceca7c8 apply idea suggestion 2019-01-09 21:56:15 +08:00
Ivan Li
62328ba803 FileMerger and Unit Test 2019-01-09 21:54:02 +08:00
Ivan Li
ad0d1220ec impl heap sort 2019-01-09 20:16:48 +08:00
Ivan Li
009ef35e7a heap insert and remove from head 2019-01-09 18:59:58 +08:00
Ivan Li
f7c05e8e04 typo 2019-01-08 14:48:06 +08:00
Ivan Li
5585fefe24 more test 2019-01-08 14:47:41 +08:00
Ivan Li
7d8e5c7819 typo 2019-01-08 14:46:18 +08:00
Ivan Li
f8349a0098 dev hight 2019-01-08 14:45:07 +08:00
Ivan Li
7c5c5c4618 tune code 2019-01-08 14:30:55 +08:00
Ivan Li
0f9dd9012d impl delete for BST 2019-01-08 13:57:39 +08:00
Ivan Li
c7bea977cf insert and find BST 2019-01-08 13:20:42 +08:00
Ivan Li
495415b45c impl level order 2019-01-07 21:18:18 +08:00
Ivan Li
e636bfaa9b impl visit tree 2019-01-07 20:58:20 +08:00
Ivan Li
b639322dc5 impl LRU cache based on hashmap and linked list 2019-01-04 19:01:17 +08:00
Ivan Li
bd41e13780 impl skip list 2019-01-03 15:50:49 +08:00
ivan
9392777260 transformed binary search 2018-12-28 14:29:42 +08:00
ivan
8aced9e71f impl sqrt and b search 2018-12-28 11:25:45 +08:00
ivan
df6133619d quick sort and findKthElement in array 2018-12-27 15:15:51 +08:00
ivan
f5cf5c79e1 fix timed function 2018-12-27 13:40:35 +08:00
ivan
0f863999d2 fix time function 2018-12-27 13:39:38 +08:00
ivan
5b3ad97fcb dev merge sort 2018-12-27 12:27:33 +08:00
ivan
569cc1c0d2 impl insertion Sort and selection sort and test and performance test 2018-12-27 10:48:57 +08:00
ivan
292f354111 refine bubble sort 2018-12-20 10:53:16 +08:00
ivan
f5aeb9af01 impl ch10 recursive 2018-12-19 15:25:10 +08:00
ivan
7f9d32df0f CircularQueue and test 2018-12-18 21:46:20 +08:00
ivan
2b36d4eb62 queue related logic and test 2018-12-18 21:28:08 +08:00
ivan
d1acb4e797 impl ch08 and browser demo 2018-12-18 16:46:17 +08:00
ivan
6c4f93f486 dev calculateCircleLength and findCircleEntrance 2018-12-17 12:29:54 +08:00
ivan
a751692c84 impl deleteLastKthNode and test 2018-12-16 13:17:12 +08:00
ivan
f23c5ab779 dev mergeSortedList 2018-12-16 12:21:03 +08:00
ivan
4eca5394ef complete checkCircle and reserve 2018-12-15 20:26:30 +08:00
ivan
c10dc78c95 add more test cases 2018-12-14 21:58:02 +08:00
ivan
a61611a9f2 use isDefined to replace nonEmpty 2018-12-14 21:56:19 +08:00