Commit graph

603 commits

Author SHA1 Message Date
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
krahets
b7fa3bbe86 Fix linked_list.md and hasp_map.md 2023-03-11 00:00:15 +08:00
krahets
ba78fead8e Update README.md 2023-03-10 02:06:29 +08:00
krahets
13e5fced78 Adjust the font size. 2023-03-07 01:17:30 +08:00
krahets
71c69bf2fd Update index.md 2023-03-06 22:41:08 +08:00
krahets
198d1e6a23 Update sorting_algorithms_comparison.png 2023-03-04 03:14:48 +08:00
krahets
ca261a8f46 Update the chapter preface. 2023-03-03 21:54:04 +08:00
nuomi1
17ff091a03
refactor: review Swift codes for chapter_computational_complexity art… (#396)
* refactor: review Swift codes for chapter_computational_complexity articles

* Update time_complexity.swift

* Update time_complexity.swift

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-03-03 21:22:23 +08:00
krahets
7c501140f0 Update code style for Python 2023-03-03 03:07:22 +08:00
Yudong Jin
33c797efeb
feat: Add C++ code for the graph bfs and dfs (#401)
* Add C++ code for the graph bfs and dfs

* Add C++ code for the graph bfs and dfs
2023-03-02 18:57:33 +08:00
krahets
902be479b2 Update the contents 2023-03-02 02:58:34 +08:00
krahets
55586e6a6e Add linkedlist_deque and array_deque to docs. 2023-03-01 03:51:30 +08:00
krahets
29ae658dea Fix code formats. 2023-03-01 03:17:07 +08:00
krahets
6659b87ffe Update README.md
Add preface in index.md
2023-03-01 00:24:18 +08:00
krahets
dabe5d5c24 build 2023-02-28 20:03:53 +08:00
krahets
10903b2781 Updathe time_complexity.md 2023-02-28 00:14:59 +08:00
krahets
ff6022796c Fix 结构体 and 类. 2023-02-27 21:01:25 +08:00
花无缺
731487864f
linked_list.md中增加链表结构体定义C语言代码 (#384) 2023-02-27 20:59:59 +08:00
krahets
18f2ec4fdc Fix array_deque.java
Unify the book name.
Update cover image.
2023-02-27 19:08:32 +08:00
krahets
f83bf7792c Update the chapter preface and add the chapter appendix 2023-02-27 03:44:54 +08:00
krahets
e7b71df467 Updathe suggestions.md 2023-02-27 02:44:09 +08:00
krahets
0e67c07b28 Update sorting_algorithm_comparison.png 2023-02-26 22:52:38 +08:00
krahets
c2d641537e Add summary for the chapters of introduction, hashing, heap, graph, sorting 2023-02-26 22:47:21 +08:00
krahets
1a49631dba Unify the headings in mkdocs.yml and the articles. 2023-02-26 20:16:55 +08:00
krahets
5b44ff5397 Seperate the build_heap from the heap. 2023-02-26 20:12:17 +08:00
krahets
23cda5e225 Add captions for all the animations. 2023-02-26 19:22:46 +08:00
krahets
7aa44d212c Remove all the table captions. 2023-02-26 18:23:11 +08:00
krahets
9e99ac06ce Update the captions of all the figures. 2023-02-26 18:18:34 +08:00
krahets
85d04b30fb Update index.md and about_the_book.md 2023-02-26 05:56:36 +08:00
krahets
510a957b71 Update the chapter preface. 2023-02-26 05:35:02 +08:00
krahets
b25aadae6f Remove the file headers from the docs. 2023-02-26 02:19:40 +08:00
krahets
2b33f7bc5f Add step symbols in animations and unify font size for all the figures 2023-02-26 01:47:57 +08:00
krahets
e500b19f5a Update the labels of the figures. 2023-02-25 23:35:39 +08:00
krahets
f894199d58 Add lang blocks in graph_traversal.md 2023-02-25 01:26:34 +08:00
krahets
4a0c4eea69 Update data_and_memory.md and graph_traversal.md 2023-02-24 11:42:59 +08:00
nuomi1
037769d94d
feat: add Swift codes for deque article (#380) 2023-02-23 23:03:33 +08:00
krahets
73c8920c6b Add python code of Heap and Graph to docs. 2023-02-23 20:23:49 +08:00
nuomi1
c6c4c9d997
feat: add Swift codes for graph_traversal article (#378)
* feat: add Swift codes for graph_traversal article

* refactor: rename parameters

* Update graph_dfs.swift

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-22 19:41:31 +08:00
t8g
f2d2cca5f1
refactor:Simplified lambda expressions for PriorityQueue in heap.md and heap.java (#379) 2023-02-22 19:35:49 +08:00
krahets
a2b74943a2 Update data_and_memory.md 2023-02-22 19:29:07 +08:00
krahets
d87c9b5084 Add floating-point format in data_and_memory.md 2023-02-22 19:02:26 +08:00
krahets
3daaf30f23 Update the symbols of the animations. 2023-02-22 00:57:43 +08:00
krahets
85be0e286b Update the figures in acl_tree.md 2023-02-19 01:48:55 +08:00