Commit graph

65 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
Yudong Jin
9151eaf533
Add typing annotations to Python codes. (#411) 2023-03-12 18:49:52 +08:00
krahets
b7fa3bbe86 Fix linked_list.md and hasp_map.md 2023-03-11 00:00:15 +08:00
krahets
902be479b2 Update the contents 2023-03-02 02:58:34 +08:00
krahets
29ae658dea Fix code formats. 2023-03-01 03:17:07 +08:00
krahets
dabe5d5c24 build 2023-02-28 20:03:53 +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
9e99ac06ce Update the captions of all the figures. 2023-02-26 18:18:34 +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
88b00151b0 Remove the heading numbers
in all the source docs.
2023-02-16 03:39:01 +08:00
krahets
4b49373385 Update index.md, hashmap.md 2023-02-13 16:29:31 +08:00
krahets
d1e1d76162 Add sorce code blocks of C to the docs. 2023-02-11 18:22:27 +08:00
krahets
ec25970e8e Update .gitignore
Add build script for Zig.
2023-02-09 22:57:25 +08:00
krahets
e8c78f89f0 Add build script for Go and update Go codes. 2023-02-09 04:45:06 +08:00
krahets
6dc21691ed Add build scripts for C# and
unify the coding style.
2023-02-08 22:18:02 +08:00
krahets
38751cc5f5 Add build script for Swift. 2023-02-08 20:30:05 +08:00
krahets
05f0054005 Add build script for JS and TS codes. 2023-02-08 19:45:06 +08:00
krahets
22b7d65d20 Replace ``js with ``javascript 2023-02-08 04:27:55 +08:00
krahets
0407cc720c Fix Repo 2023-02-08 04:17:26 +08:00
krahets
ecbf2d1560 1. Add build script for Java.
2. Add height limitation for code blocks in extra.css.
3. Fix "节点" to "结点".
2023-02-07 04:43:52 +08:00
krahets
ea901af217 1. Add the building util of Python
for the markdown docs.
2. Update the deploy.sh
2023-02-06 23:23:21 +08:00
Yudong Jin
a95fe26303 Fix Python code styles.
Update hash_map.
2023-02-03 20:03:30 +08:00
Yudong Jin
7ce7386bab Add Zig code blocks. 2023-02-01 22:03:04 +08:00
Yudong Jin
eb0afc98ec Number the H1 and H2 headings. 2023-01-31 03:37:50 +08:00
Yudong Jin
15c798046a Update hash collision. 2023-01-30 04:00:50 +08:00
Yudong Jin
f103fdecc9 1. Update extra.css for overwrite
the sections title color.
2. Add figures to hash collision.
3. Add inorder traversal in binary search tree.
2023-01-30 03:55:13 +08:00
nuomi1
f0c54abb9a
feat: add Swift codes for hash_map article 2023-01-17 00:02:23 +08:00
Yudong Jin
aaa2ff29f9 Fix all the ** (bolded symbols). 2023-01-09 22:39:30 +08:00
reanon
0243957015 doc(code): modify go code in docs 2023-01-08 20:33:30 +08:00
Yudong Jin
73e3452838 Add Swift language blocks to the docs. 2023-01-08 19:41:05 +08:00
danielsss
eaa48b6b9f
Fixed wrong parameter of Hash Map Set 2022-12-27 16:52:19 +11:00
Yudong Jin
4c9e5cca15
Merge pull request #174 from justin-tse/dev-js-hash
Add the JavaScript code and docs for Chapter of Hash Map
2022-12-27 00:01:08 +08:00
justin
60c715b041 Update JavaScript style (Chapter of Hashing) 2022-12-26 23:45:23 +08:00
Yudong Jin
ac90a0fd83
Merge pull request #136 from danielsss/typescript
Add the TypeScript code and docs for Chapter of Hash Map #113
2022-12-26 23:13:31 +08:00
justin
650872cb05 Add the JavaScript code to docs (Chapter of Hashing) 2022-12-26 23:03:12 +08:00
danielsss
528b716766
Update hash_map docs 2022-12-26 17:15:20 +11:00
Yudong Jin
8733557f00 Update C# code. 2022-12-24 17:05:58 +08:00
zhuzhiqing
a427cb1b4d 完善所以c#相关的文档和代码 2022-12-23 15:42:02 +08:00
danielsss
18636faf99
Update built-in Hash Map 2022-12-22 10:45:13 +11:00
Daniel
96a719bba6
Merge branch 'krahets:master' into typescript 2022-12-22 00:21:21 +11:00
danielsss
1e72f66f09
Updated code formats and removed useless codes 2022-12-22 00:04:30 +11:00
Yudong Jin
f3ef226874 Remove the spaces between “ ” and 中文 aside. 2022-12-21 01:37:58 +08:00
danielsss
bd21fd8be9
fixed: several bugs 2022-12-20 19:29:06 +11:00
danielsss
6eec01d594
removed: out of array range check 2022-12-20 12:27:44 +11:00
danielsss
eb93939f68 added: typescript hash func 2022-12-20 12:02:21 +11:00
Yudong Jin
9afb297fb6
Update hash_collision.md 2022-12-19 22:12:35 +08:00
Yudong Jin
e3fc0ee25b
Update hash_collision.md 2022-12-19 22:10:21 +08:00