Commit Graph

53 Commits

Author SHA1 Message Date
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
ivan
0f8c628114 isPalindrome 2018-12-14 21:52:18 +08:00
ivan
41baeac755 inverseLink 2018-12-14 21:19:49 +08:00
ivan
8ea5b66514 dev delete by node 2018-12-14 20:40:47 +08:00
ivan
fe3c0a3592 find and insert after 2018-12-14 17:25:42 +08:00
ivan
1a1e7e06b3 insert head and tail for linked list 2018-12-14 17:03:23 +08:00
ivan
c192f44bd7 add array test 2018-12-13 14:27:09 +08:00
ivan
57307f3089 re-organize the project 2018-12-13 10:17:26 +08:00
yangchuz
44a2376207
Binary search recursive implementation 2018-10-30 16:27:06 +08:00
yangchuz
37b619725d
Binary search non-recursive implementation 2018-10-30 16:25:08 +08:00
yangchuz
66c64c532c
Scala implementation for bubble sort, insertion sort and selection sort. 2018-10-23 17:52:09 +08:00
yangchuz
b06c99632b
Update Sorts.scala 2018-10-23 09:54:51 +08:00