Yudong Jin
f68bbb0d59
Update the book based on the revised second edition ( #1014 )
...
* Revised the book
* Update the book with the second revised edition
* Revise base on the manuscript of the first edition
2023-12-28 18:06:09 +08:00
Yudong Jin
e720aa2d24
feat: Revised the book ( #978 )
...
* Sync recent changes to the revised Word.
* Revised the preface chapter
* Revised the introduction chapter
* Revised the computation complexity chapter
* Revised the chapter data structure
* Revised the chapter array and linked list
* Revised the chapter stack and queue
* Revised the chapter hashing
* Revised the chapter tree
* Revised the chapter heap
* Revised the chapter graph
* Revised the chapter searching
* Reivised the sorting chapter
* Revised the divide and conquer chapter
* Revised the chapter backtacking
* Revised the DP chapter
* Revised the greedy chapter
* Revised the appendix chapter
* Revised the preface chapter doubly
* Revised the figures
2023-12-02 06:21:34 +08:00
krahets
ff8e7ceec5
Several bug fixes.
2023-09-24 20:38:21 +08:00
lyl625760
45e20e57a1
fix: Update hash_map_open_addressing.java ( #727 )
...
* FixBug:Update hash_map_open_addressing.java
1. put keyA, hashFunc 在位置 5
2 put key B, hashFunc 在位置 5. 和 A冲突,插入位置6
3. remove keyA,位置5removed
4. put keyB, hashFunc 在位置 5. 没有冲突,插入位置5
5. remove keyB, 位置5removed
6. get keyB, 此时会出bug,会访问到位置6. 实际上应为keyB 已经删除了
* Update hash_map_open_addressing.java
* Update hash_map_open_addressing.java
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-09-21 04:39:21 -05:00
krahets
6da6d24193
Fix the code of hash map chaining.
2023-08-01 17:05:40 +08:00
krahets
54dc288e61
1. Remove Pair class from hash coliision code.
...
2. Fix the comment in my_list code.
3. Add a Q&A to the summary of sorting.
2023-06-26 23:06:15 +08:00
liuyuxin
62e8f0df50
feat: complete Dart codes for chapter_hashing ( #566 )
2023-06-25 20:57:37 +08:00
Yudong Jin
1b1af8d038
Add Java and C++ code for the section hash algorithm ( #560 )
2023-06-21 19:26:16 +08:00
Yudong Jin
9563965a20
Add the codes of hashmap ( #553 )
...
of chaining and open addressing
2023-06-14 02:01:06 +08:00
krahets
145975b335
Rename the common modules in Java, C++ and C.
2023-04-24 04:11:18 +08:00
krahets
de579aa3f4
Fix the file headers.
2023-04-23 19:36:07 +08:00
krahets
f8513455b5
Format the Java codes with the Reat Hat extension.
2023-04-14 00:12:10 +08:00
krahets
518b9efabc
Update a comment in array_hash_map
2023-03-15 03:48:31 +08:00
krahets
d5afd93571
Update array_hash_map
2023-03-15 03:11:43 +08:00
Yudong Jin
3abcefae99
Update heap.
2023-01-12 04:08:45 +08:00
Yudong Jin
0e49f0053a
Update the format of the file headers
...
of c, cpp, java, js, ts, swift.
2023-01-06 03:39:19 +08:00
马赛克
e432f0b987
Merge branch 'krahets:master' into master
2022-12-16 09:18:48 +08:00
Yudong Jin
7a284b7a09
Update hashmap
2022-12-15 22:53:22 +08:00
machangxin
aeb4e6077d
Add C++, Python, Go code for chapter_hashing
2022-12-14 17:18:32 +08:00
Yudong Jin
d1efac36ca
Update the chapter of hashing.
2022-12-06 01:00:21 +08:00
Yudong Jin
bc2561fb51
Add the chapter of hash map.
2022-12-05 02:37:16 +08:00