krahets
5392afd44b
fix several bugs
1 year ago
krahets
a8c624fa5a
Fix the code in min_path_sum
1 year ago
krahets
fb552987f5
Update variable names in list and my_list
1 year ago
hpstory
e03022d5fb
fix: Polishing code format on linearLogRecur, convert String type to string ( #841 )
1 year ago
易春风
e8bf5879b0
fix: the rust variable should have a snake case name ( #811 )
1 year ago
易春风
5b692968a9
feat: add for-loop-recur rust codes ( #803 )
1 year ago
易春风
4b5e21d0d9
refactor: update the hash_map_open_addressing rust codes to synchronize with java ( #787 )
1 year ago
krahets
cb9c14f5ff
fix build_tree, binary_search_tree.cs
...
fix two figures
1 year ago
krahets
f71b2a40da
fix preorder_traversal_iii_compact code
1 year ago
Night Cruising
2217ffc447
feat: add rust codes for simple_hash ( #724 )
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
Night Cruising
3af00d00d7
feat: add rust codes for chapter computational complexity ( #714 )
1 year ago
Night Cruising
95bc0ffdb2
Feat: add rust codes for chapter searching ( #710 )
1 year ago
Night Cruising
d37b795ef2
Fix the bug of wrong function call ( #709 )
1 year ago
krahets
a47a974a6a
fix climbing_stairs_constraint_dp code
1 year ago
krahets
628d8a516b
fix binary_search_tree code
1 year ago
krahets
9731a46d67
Fix a definition.
1 year ago
krahets
f5dda8d99a
Polish the content
1 year ago
krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
1 year ago
krahets
c310edb672
Polish the chapter of array and linkedlist
1 year ago
Night Cruising
5a4182372c
Fix the bug of index in rust codes ( #685 )
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
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
WangSL
13bb76c283
feat: add rust code for build_in_hash and hash_collision ( #629 )
...
* Create hash_map_chaining.rs
* Create hash_map_open_addressing.rs
* Create build_in_hash.rs
* Update Cargo.toml
1 year ago
Yudong Jin
027bdd6510
Release Rust code to documents. ( #656 )
1 year ago
krahets
60162f6fa8
Finetune Rust code.
1 year ago
Night Cruising
06006c58a2
feat: add rust codes for array binary tree ( #654 )
...
* feat: add rust codes for array binary tree
* update tree_node.rs
* update: add implementation of vec_to_tree and tree_to_vec
* update tree_node.rs
* Update tree_node.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
b067016bfa
Update preorder_traversal_iii.
1 year ago
Night Cruising
fdbe275fc9
fix: check the rust codes and fix them ( #653 )
...
* fix: check the rust codes and fix it
* Update binary_tree_bfs.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Night Cruising
9d56622c75
feat: add rust codes for chapter greedy ( #646 )
...
* feat: add rust codes for chapter greedy
* Update max_product_cutting.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
bba62bbe75
Fix the code of preorder_traversal_iii_compact
1 year ago
krahets
c54536d1a1
Modify the problem of preorder_traversal_iii
1 year ago
sjinzh
8737fc66dd
rust : add codes for chapter_divide_and_conquer ( #621 )
1 year ago
Night Cruising
a296786b2a
feat: add rust codes for chapter heap ( #612 )
...
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
sjinzh
ead33ca863
zig : update codes style && rust : add codes for chapter_backtracking. ( #613 )
...
* zig : update codes style
* rust : add codes for chapter_backtracking
* zig : update codes style
1 year ago
Night Cruising
f5ea4fa1c6
feat: add rust codes for avl tree ( #605 )
...
* feat: add rust codes for avl tree
* fix a wrong usage of borrow method of RefCell
* Update avl_tree.rs
* fix comment indentation and field define of TreeNode
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
sjinzh
b1f8857212
rust and zig : add codes for chapter_dynamic_programming ( #606 )
...
* rust : add codes for chapter_dynamic_programming
* zig : add codes for chapter_dynamic_programming
* rust : add codes for chapter_backtracking
* Update n_queens.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Night Cruising
c3add62dc7
feat: add rust codes for graph chapter ( #598 )
...
* feat: add rust codes for graph chapter
* update: remove Vertex and it's method to vertex.rs
1 year ago
Night Cruising
f548eae663
feat: add rust codes for bucket sort, counting sort and radix sort ( #590 )
...
* add rust codes for bucket sort, counting sort and radix sort
* update Cargo.toml for build
1 year ago
sjinzh
6733a4843c
rust : add codes for chapter_backtracking ( #594 )
...
* rust : add codes for chapter_backtracking
* Update subset_sum_ii.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
sjinzh
459449d41a
zig : upgrade codes && rust : add codes for chapter_searching and chapter_dynamic_programming. ( #591 )
...
* zig : update zig codes
* rust : add codes for linear_search and hashing_search
* rust : add codes for linear_search and hashing_search
* rust : add codes for chapter_dynamic_programming
1 year ago
Night Cruising
6c133d42d5
rust code for heap sort ( #579 )
1 year ago
WangSL
3b3841ba36
The Rust version of the selection sort. ( #524 )
...
* The Rust version of the selection sort.
* The Rust version of the binary_search_edge
* update,The Rust version of the binary_search_edge and selection_sort
* update,The Rust version of the binary_search_edge and selection_sort
* update The Rust version of the binary_search_edge and selection_sort
1 year ago
Yudong Jin
9563965a20
Add the codes of hashmap ( #553 )
...
of chaining and open addressing
1 year ago
krahets
eb8df49993
Update bubble sort and insertion sort.
2 years ago
xBLACKICEx
abecea9ab6
✨ feat(rust/tree): add binary_search_tree ( #481 )
...
* ✨ feat(rust/tree): add binary_tree_dfs
* ✨ feat(rust/tree): add binary_tree_bfs
* 🐞 fix(rust/tree): can't list to any kind of tree
* ✨ feat(rust/tree): add binary_search_tree
* Update binary_search_tree.rs
* 🐞 fix(rust/tree): corret writing mistakes
* 🦄 refactor(rust/tree): remove get_next_node() function
* Update binary_search_tree.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
krahets
f6d290d903
Update the comments of bubble sort
...
and insertion sort
2 years ago
krahets
d95c628eef
Fix the test case of binary search.
2 years ago