Commit graph

645 commits

Author SHA1 Message Date
krahets
ca76336a55 Fix C code in quick_sort.md 2023-05-03 18:30:25 +08:00
krahets
9c070a028f Update the code of permutations I and II 2023-04-27 01:29:00 +08:00
krahets
145975b335 Rename the common modules in Java, C++ and C. 2023-04-24 04:11:18 +08:00
Yudong Jin
c6eecfd0dc
feat: Add the section of permutations problem. (#476)
* Add the section of permutations problem.

* Update permutations_problem.md
2023-04-24 03:33:30 +08:00
krahets
bad759b4f8 Rename the naming of the coding files
in backtracking algorithm.
Add the typedef to docs.
2023-04-22 01:38:53 +08:00
krahets
2351fd1a1a Add the animation for the tree preorder traversal 2023-04-18 23:10:37 +08:00
yi427
66bcd1b93c
Update searching_algorithm_revisited.md (#470)
更改内容: 加入 -> 假如,拼写错误
2023-04-18 21:35:01 +08:00
krahets
661603d467 Add the hashtable based on uthash.h to docs 2023-04-18 21:19:57 +08:00
Yudong Jin
dbc4906582
Publish the C codes to the docs. (#469) 2023-04-18 20:21:31 +08:00
krahets
ed8fa6aea3 Add the code formatters in installation.md 2023-04-17 22:45:11 +08:00
krahets
1d6b7a5644 Reconstruct the chapter of the tree. 2023-04-17 21:01:06 +08:00
Yudong Jin
881d573790
Refactor the articles related to searching algorithm. Add the chapter of binary search. Add the section of searching algorithm revisited. (#464) 2023-04-17 18:22:18 +08:00
Yudong Jin
49606fd199
Add the chapter of backtracking. (#459) 2023-04-16 04:52:42 +08:00
krahets
b3640c53d1 Remove unused functions. 2023-04-14 05:52:59 +08:00
krahets
f7ae9c8a02 Fix the return type of binary search tree and avl tree 2023-04-14 05:47:20 +08:00
krahets
7273ee24e8 Fix the contents. 2023-04-13 22:44:59 +08:00
krahets
236b9cadb1 Polish the chapter of stack_and_queue, tree 2023-04-10 23:59:22 +08:00
krahets
9a74d9a9d1 Polish the chapter of searching and sorting. 2023-04-10 03:11:49 +08:00
krahets
0bec52d7cc Polish the chapter of heap, introduction, preface.
Replace "其它" with "其他"
2023-04-09 19:12:37 +08:00
krahets
10e2180013 Unify the comment style of python codes 2023-04-09 05:30:02 +08:00
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 (#452)
* Replace 结点 with 节点
Update the footnotes in the figures

* Update mindmap

* Reduce the size of the mindmap.png
2023-04-09 04:32:17 +08:00
krahets
3f4e32b2b0 Polish the chapter of graph, hashing, appendix 2023-04-09 03:09:06 +08:00
krahets
3872f94caa Polish the chapter of data structure. 2023-04-08 04:07:09 +08:00
krahets
de6945f55a Polish the contents
1. Array and linked list.
2. Computational complexity.
3. Fix a mistake in counting_sort.md
2023-04-07 22:31:50 +08:00
krahets
b7daddf88f Polish the contents. 2023-04-06 22:03:46 +08:00
Yudong Jin
830ec69d39
Add bucket_sort.cpp and bucket_sort.py (#446) 2023-03-30 03:44:26 +08:00
krahets
264adf250a Polish the content of intro_to_sort 2023-03-27 20:02:05 +08:00
krahets
423cc6fc2a Update the summary of the sorting chapter. 2023-03-26 22:44:27 +08:00
Yudong Jin
34a1bca627
Add the section of radix sort. (#441) 2023-03-26 22:02:37 +08:00
krahets
c338a6d8d8 Add the section of bucket sort 2023-03-26 04:47:05 +08:00
krahets
22898b6955 Simplify the contents of the sorting algorithms. 2023-03-25 18:41:22 +08:00
krahets
f4e01ea32e Update counting_sort.md 2023-03-23 04:41:08 +08:00
krahets
326a56fdd9 Add the overview figure of counting sort. 2023-03-23 04:21:01 +08:00
Yudong Jin
65e47b0748
Add Python and C++ code for the counting sort. (#436) 2023-03-21 22:24:17 +08:00
krahets
6d452777a4 Update graph.md 2023-03-20 21:46:27 +08:00
krahets
ecc718d0b1 Update build_heap.md 2023-03-20 21:10:01 +08:00
krahets
501502662c Update quick_sort.md 2023-03-20 03:14:21 +08:00
Yudong Jin
ceeb138487
Add the section of counting sort. (#427) 2023-03-19 23:42:12 +08:00
krahets
8e78c6036b Update hash_collision.md 2023-03-18 22:48:26 +08:00
Guanngxu
351da5c108
update C linked_list init (#421)
* docs: update C linked_list init

* Update linked_list.md

* Update linked_list.c

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-03-18 18:31:47 +08:00
Reanon
fcdc96e03d
fix(doc/go): fix binary_tree doc (#420) 2023-03-16 18:42:06 +08:00
krahets
06f87d8066 Update README.md 2023-03-16 00:05:46 +08:00
krahets
9bb8e94a2c Update hash_map and hash_collision. 2023-03-15 03:06:52 +08:00
iScream
ec0856ccfa
docs(Hashing/Hash_Collision): add go part. (#395)
* docs(Hashing/Hash_Collision): add go part.

* docs(Hashing/Hash_Collision): add go part.

* docs(Hashing/Hash_Collision): add go part.

* docs(Hashing/Hash_Collision): add go part.

* docs(Hashing/Hash_Collision): add go part.

* Update hash_collision.md

* fix context logic question

* Update Go language hash table collision handling to limit each bucket to 8 entries and compare keys' high 8 bits of hash to reduce access to key-value pairs

* Update hash_collision.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-03-15 02:18:07 +08:00
krahets
d09b1e4f9f Fix space_complexity.md 2023-03-13 22:53:53 +08:00
Yudong Jin
28aacccf44
refactor: Replace 'poll' with 'pop' in Heap (#416) 2023-03-13 22:31:05 +08:00
Yudong Jin
8aebbaad21
refactor: Replace poll with pop in Queue and Deque (#415) 2023-03-13 21:58:21 +08:00
Yudong Jin
9151eaf533
Add typing annotations to Python codes. (#411) 2023-03-12 18:49:52 +08:00
krahets
82bbdd444d Update the chapter of stack and queue. 2023-03-12 04:14:36 +08:00
krahets
bbef87ccfe Update the applications of deque. 2023-03-12 02:45:10 +08:00