Nepenthe
bcb5bf641a
Update hash_algorithm.md ( #836 )
...
* Update hash_algorithm.md
- Add the hiding property required for the hash algorithm in security domain.
* Update hash_algorithm.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
4355f8d49f
Several bug fixes.
1 year ago
lucas
0e3d2ce4bb
feat: Add rust code in binary_tree.md ( #759 )
...
* feat: Add binary_tree.md
* Update binary_tree.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Nepenthe
d86cb0ee5d
Update array.md & hash_map.md ( #827 )
...
* Update array.md
- Update array.md
- Add comments to maintain consistency with implementations in other languages.
* Update hash_map.md
- Update hash_map.md
- Update the filename to correspond with the filenames in the "codes/go" directory.
1 year ago
Nepenthe
dbf6c1c68d
fix: typo ( #826 )
1 year ago
krahets
98538b924f
Several bugs fixes and improvments;
1 year ago
Wang Jianing
ddb2f9e024
Update suggestions ( #812 )
...
* Update suggestions
Here I think using "code warehouse" instead of "code warehouse" can eliminate unnecessary ambiguity.
* Update suggestions.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
易春风
cbe76b58a2
feat: add rust docs ( #815 )
...
* feat: add rust docs
* Import std types for built_in_hash doc
1 year ago
Phoenix0415
79ee529b47
Update deque.md ( #808 )
...
* Update deque.md
添加了信息:
其名字"deque"是"double-ended queue"的缩写,反映了这种数据结构的主要特点。"
帮助读者更好记住deque的英文名,也能更好联系到其特性
* Update deque.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Flamingo
22be495412
fix(cpp). update hash_map ( #800 )
...
* fix(cpp). update hash_map
遍历 map 还是 k-v 键值对
* Update hash_map.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Turing-1024-Lee
ea7eb514fc
Update graph_traversal.md ( #801 )
...
笔误文字重复
1 year ago
krahets
e567d08348
Bug fixes
1 year ago
krahets
ff8e7ceec5
Several bug fixes.
1 year ago
krahets
e3773b7f76
Several bug fixes and improments.
1 year ago
kilikilikid
0f0892b8f5
Update dp_problem_features.md ( #772 )
...
* Update dp_problem_features.md
这样的中文描述和转移方程更加一致
* Update dp_problem_features.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
af65ab08ef
Update .gitignore
...
Remove prev and next button in footer.html
1 year ago
malone6
16574186ee
feat: add previous and next button in content.html ( #763 )
...
* fix: linkedlist_stack.py 中的peek方法需要判空raise Error
栈空的时候不能再 peek() 。另外由于 pop() 复用了 peek() ,栈空时返回的 None 会传递到 pop() 中的 num ,导致后续的继续执行
self.peek.next 报错等后续问题
* Update linkedlist_stack.py
* Update linkedlist_queue.py
* Update linkedlist_deque.py
* feat: Move the pagination nav above the comments
* feat: Move the pagination nav above the comments
* Delete docs/overrides/partials/footer.html
* Update content.html
---------
Co-authored-by: Yudong Jin <krahets@163.com>
Co-authored-by: long.ma <long.ma@sumscope.com>
1 year ago
Yudong Jin
a46b482951
Refactor the hash_map_open_addressing implementation with lazy reallocation. ( #776 )
1 year ago
krahets
8effa58a59
Several bug fixes.
1 year ago
Qingpeng Li
7cbe284fcf
follow PEP585 typing ( #767 )
...
Signed-off-by: Qingpeng Li <qingpeng9802@gmail.com>
1 year ago
krahets
9f59c572b5
fine tune
1 year ago
hts0000
b2246e11a7
feat: add Rust code in queue.md and deque.md ( #757 )
...
* feat: add Rust code in queue.md
* feat: add Rust code in deque.md
* style: fix comment style
1 year ago
lucas
0a2ad4489a
feat: add Rust code in stack.md ( #748 )
...
* Update stack.md
Add rust sample code
* Update stack.md
* Update stack.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Kato0130
eba015c0bb
add Rust codes for hash_map ( #751 )
1 year ago
krahets
cb9c14f5ff
fix build_tree, binary_search_tree.cs
...
fix two figures
1 year ago
krahets
d190dbf3c1
Several enhancements and fixes
1 year ago
Horbin
e8554975f4
Update what_is_dsa.md ( #745 )
...
* Update what_is_dsa.md
优化了语句表达
* Update what_is_dsa.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Horbin
3e41e2f475
Update suggestions.md ( #744 )
...
给Rust添加注释说明
1 year ago
zhouLion
76e953a74c
style: Make the picture not glare in dark theme ( #741 )
...
* style: Make the picture not glare in dark theme
* Update extra.css
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
5f814d6538
Add comparison between iteration and recursion.
...
Fix the figure of tail recursion.
Fix two links.
1 year ago
krahets
3530f8c5ce
prepare 1.0.0b5 release
1 year ago
gonglja
46d6463883
Remove unnecessary printing ( #733 )
...
* fix(codes/cpp): Memory leak fix: the space was not freed when pop removed the element.
* fix(codes/cpp): Fix access error when printArray(arr, 0)
* Update PrintUtil.hpp
* fix(codes/c): Fix some errors of cmake build
* feat(codes/c): Add hashing_search.c
* styles(codes/c): Modify function description
* styles(codes/c): Modify binary_search.c code style
* fix(codes/c): Fix the problem in binary_tree_bfs.c and the problem that the memory is not released.
* feat: Add preorder_traversal_i_compact.c
* feat(codes/c): Add head_sort.c
* feat(codes/c): Add bucket_sort.c
* feat(codes/c): Add binary_search_edge.c
* fix(codes/c): Add programs that are not managed by cmake (c code)
* feat(codes/c): Add selection_sort.c
* style(codes/c): Change swap in selection_sort.c to `selectionSort`
* styles(codes/c): Change style.
* fix(codes/c): Fix some formatting errors and temporarily remove backtracking chapters
* fix(codes/c): Fix space_complexity.c build error.
* feat(codes/c): Add array_binary_tree.c
* feat(code/c): Update push_back and pop_back in vector.h
* styles(codes/c): Adjust format.
* style: Remove unnecessary print.
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
f71b2a40da
fix preorder_traversal_iii_compact code
1 year ago
Night Cruising
9339dbf9b3
feat: add rust docs for chapter computational complexity ( #723 )
1 year ago
Yudong Jin
9c3b7b6422
Sort the coding languages by applications. ( #721 )
1 year ago
krahets
dd72335235
Format C, C++, C#, Go, Java, Python, Rust code.
1 year ago
krahets
978857570f
Format JS and TS code.
1 year ago
krahets
e052cb1d3b
finetune
1 year ago
一代咩神
bc80234994
Update linked_list.md ( #708 )
...
原文:
> 单向链表:即上述介绍的普通链表。单向链表的节点包含值和指向下一节点的引用两项数据。我们将首个节点称为头节点,将最后一个节点成为尾节点,尾节点指向空 None。
应该是:将最后一个节点称为(而不是 “成为”)尾节点,尾节点指向空 None。
1 year ago
krahets
63aef4ed08
Fix a figure and latex symbols.
1 year ago
Yudong Jin
e16f898a4e
Finetune all the figures. ( #704 )
1 year ago
krahets
db7975d51f
Fix some figures.
1 year ago
krahets
d387d9d41d
finetune
1 year ago
krahets
88a746f493
finetune
1 year ago
YDJ
2f0f154b3c
Update binary_search.md ( #699 )
1 year ago
YDJ
beea47eb5d
Update backtracking_algorithm.md ( #700 )
1 year ago
Richard Zhang
3cd0352f17
fix: typo ( #701 )
1 year ago
krahets
8347c2da36
Update the chapter of
...
introduction and complexity anylysis.
1 year ago
krahets
57851ab11e
Update punctuation
1 year ago
krahets
c5a7323817
Replace ":" with "。"
1 year ago
krahets
71692af8c4
Fix a figure.
1 year ago
krahets
9731a46d67
Fix a definition.
1 year ago
Liang Zhang
debf42b189
Fix a typo ( #695 )
1 year ago
Yudong Jin
3e64f68ae9
Add the section of iteration and recursion. ( #693 )
1 year ago
krahets
f524b957d4
Finetune and fix
1 year ago
krahets
1aa558bd2d
Add figure and table numbers in normal texts.
1 year ago
krahets
106f02809a
Mention figures and tables in normal texts.
...
Fix some figures.
Finetune texts.
1 year ago
krahets
1aff6d6cc2
Polish the content.
1 year ago
krahets
f5dda8d99a
Polish the content
1 year ago
krahets
981144e42d
1. lower-case nouns
...
2. fix 2 figures
3. Replace some 「」 by “”
1 year ago
krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
1 year ago
krahets
5fb728b3d6
Update H1 titles.
1 year ago
krahets
70227c82cb
Remove center-table from docs.
...
Add header to the tables.
1 year ago
Sizhuo Long
4eb621dda7
"Add Q&A sections to array/linked_list and tree chapters" ( #682 )
...
* "Add Q&A sections to array/linked_list and tree chapters"
Added question and answers related to the use of std::list in C++ and space complexity in full binary tree traversal to their respective chapters in array_and_linked_list and tree documentation.
* Update summary.md
* Update summary.md
* Update summary.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
c310edb672
Polish the chapter of array and linkedlist
1 year ago
liuyuxin
0858ab91c0
Add missing Dart codes and fix some errors ( #689 )
...
* Add missing Dart codes and fix some errors
* Update array_binary_tree.dart
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
hpstory
c9006c3fe6
fix(docs): add official configuration tutorial for csharp ( #687 )
...
* fix(docs): add official configuration tutorial for csharp
* Update installation.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
0c18198c01
Fix the figures.
...
Polish the chapter of data structure.
1 year ago
krahets
6ef4dc6444
Fix the content
1 year ago
krahets
932d14644d
Polish the content
...
Polish the chapter preface, introduction and complexity anlysis
1 year ago
埃拉
9ed16db68e
Complement to Rust code in the Chapter array and linked list / Time Complexity. ( #657 )
...
* Complement to Rust code in the Chapter array and linked list
* Complement to Rust code in the Time Complexity
* Remove this Rust struct from 380 to 383.
* Address the comments from @night-cruise
* Add more comments in list and time complexity
* Add more comments in linked list
1 year ago
krahets
4bc6b8af7b
finetune
1 year ago
krahets
08e4924054
Finetune
1 year ago
Yudong Jin
71074d88f6
Add the section of binary search insertion. ( #671 )
...
Refactor the section of binary search edge.
Finetune the figures of binary search.
1 year ago
krahets
3d81b2d954
Update the opening phrase
1 year ago
krahets
c7c33f19ac
Update the opening phrase
1 year ago
Yudong Jin
43ed0e41d6
Add opening phrase for every chapters. ( #670 )
...
Update several chapter covers.
Fitune documens.
1 year ago
krahets
55615ab61d
Update basic_data_types.md
1 year ago
Bubble9um
a14f04e807
Update summary.md ( #669 )
...
小结倒数第二条中 MD5常用语 更改为 常用于
1 year ago
krahets
dbe3b4d6ba
Fine tune.
1 year ago
krahets
9e8aee04d5
Update number_encoding.md
...
Update the width of cover images.
1 year ago
krahets
c9ec4c2625
Fix greedy_algorithm.md
...
Add a new Q&A
1 year ago
krahets
b9b324b298
Use abbreviation for JavaScript and TypeScript
1 year ago
krahets
85d12360ed
Prepare 1.0.0b4 release.
1 year ago
Yudong Jin
027bdd6510
Release Rust code to documents. ( #656 )
1 year ago
krahets
63a0e73df0
Unify punctuation.
1 year ago
krahets
35973068a7
Prepare for release 1.0.0b4
1 year ago
krahets
b067016bfa
Update preorder_traversal_iii.
1 year ago
krahets
90af225dae
Remove `-> None` for Python functions
1 year ago
hpstory
978d3c2ed7
fix(csharp): reformat csharp codes and docs ( #652 )
...
* fix(csharp): reformat the C# codes and docs
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
1777a16865
Fix Go comment and link
1 year ago
krahets
17f995b432
Finetune the chapter of hashing,
...
divide and conquer, backtracking, tree
1 year ago
krahets
abec926c24
Finetune the documents.
...
Update mindmap.
Add the cover image of chapter appendix.
1 year ago
krahets
c9daeeff2d
Add the section of summary of greedy.
1 year ago
krahets
e114ea2b65
Finetune the docments
1 year ago
William Yuan
b676349dac
Update hash_map.md ( #641 )
1 year ago
Yudong Jin
075c3abf88
Add the section of max product cutting problem. ( #642 )
1 year ago
krahets
ca5bde2b6c
Add subtitles to docs
1 year ago
krahets
1a55dbdf2e
Finetune doc and code.
1 year ago
Yudong Jin
76f11ae168
Add the section of max capacity problem. ( #639 )
1 year ago