rongyi
ef3010bd77
idomatic structure rust code, no include macro ( #1528 )
Rust / build (macos-latest) (push) Has been cancelled
Rust / build (ubuntu-latest) (push) Has been cancelled
Rust / build (windows-latest) (push) Has been cancelled
2024-10-23 18:49:47 +08:00
rongyi
21be3fdaf8
[Rust] Normalize mid calculation in case overflow ( #1363 )
...
* Normalize mid calculate in case overflow
* Change ALL language
* Update merge_sort.py
* Update merge_sort.zig
* Update binary_search_tree.zig
* Update binary_search_recur.py
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2024-05-18 18:19:19 +08:00
rongyi
063a41fa7f
[Rust] No need to use mut iter ( #1356 )
...
* No need to use mut iter
* Update iter
2024-05-12 14:49:25 +08:00
rongyi
ebff1cce9f
Stick with swap ( #1352 )
2024-05-11 17:59:44 +08:00
rongyi
7a96f6a743
Fix panic when array's len is less than 2 ( #1353 )
2024-05-11 17:59:11 +08:00
Yudong Jin
b3f100aff1
Bug fixes and improvements ( #1205 )
...
* Add Ruby code blocks to documents
* Remove Ruby code from en/docs
* Remove "center-table" class in index.md
* Add "data-toc-label" to handle the latex heading during the build process
* Use normal JD link instead.
* Bug fixes
2024-04-01 19:37:00 +08:00
Yudong Jin
7f43f92ae9
Bug fixes and improvements ( #1152 )
...
* Update avl_tree.md
* Remove the empty space
* Simplify the heading of the paperbook chapter
* Update hash_map_open_addressing.go to the latest version
* Improvements
2024-03-18 13:34:02 +08:00
rongyi
6f1ec66949
Fix rust compile warning and an obvious print error in array.rs ( #1144 )
...
* Fix rust compile warning and an obvious print error in array.rs
* Update LinkedList
1. drop unnessaray mut borrow
2. fmt code and make variable more readable
* follow convention of this repo
* Update list_node.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2024-03-18 02:44:03 +08:00
rongyi
7b1094318b
cargo fmt rust code ( #1131 )
...
* cargo fmt code
* Add empty line to seperate unrelated comments
* Fix review
* Update bubble_sort.rs
* Update merge_sort.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2024-03-16 02:13:41 +08:00
Yudong Jin
9769e14017
Fix the median_three mehod for quick sort ( #1134 )
...
* Add the section of terminologies.
* fix format
* Fix median_three function for quick sort
* Delete docs/chapter_appendix/terminologies.md
* Update quick_sort.ts
* Update quick_sort.rs
* Update quick_sort.js
2024-03-15 01:06:59 +08:00
Yudong Jin
01c67781fa
Bug fixes and improvements ( #1133 )
...
* Bug fixes
* Update the figure of the JD link
* Unify the code comments of insertion_sort
2024-03-14 20:01:16 +08:00
易春风
d4d281cd67
Fix the issue of discussion 514 ( #1064 )
2024-01-27 19:42:19 +08:00
codingonion
7ffef7e1d6
update the author info sjinzh
-> codingonion
( #1017 )
...
* update author information
* Update index.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2024-01-02 01:25:37 +08:00
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
易春风
3628b40f44
refactor: re-implement the rust codes of merge sort ( #891 )
2023-10-26 22:24:02 +08:00
krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
2023-08-20 14:51:39 +08:00
Yudong Jin
027bdd6510
Release Rust code to documents. ( #656 )
2023-07-26 11:00:53 +08:00
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>
2023-07-24 22:27:26 +08:00
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
2023-07-12 00:29:39 +08:00
Night Cruising
6c133d42d5
rust code for heap sort ( #579 )
2023-07-09 03:01:44 +08:00
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
2023-06-25 21:00:24 +08:00
krahets
eb8df49993
Update bubble sort and insertion sort.
2023-05-23 21:20:14 +08:00
krahets
f6d290d903
Update the comments of bubble sort
...
and insertion sort
2023-05-22 23:05:37 +08:00
krahets
0b72fef381
Fix quick_sort.py
2023-02-21 21:51:56 +08:00
xBLACKICEx
53f45984f9
✨ feat(rust/sorting) add insertion, merge, quick sort code ( #369 )
...
* ✨ feat(rust/sorting): add insertion_sort
* ✨ feat(rust/sorting): add merge sort
* ✨ feat(rust/sorting): add quick sort
* 📃 docs(rust/sorting): add & correct some missing comments.
* 📃 docs(rust/sorting): add & correct some missing comments.
2023-02-19 01:00:20 +08:00
sjinzh
e65c7bd478
Refine some details and coding style for Rust codes ( #344 )
...
* Refine some details and coding style for Rust codes
* Update coding style for Rust codes
* Update time_complexity.rs
* Update array.rs
* Update leetcode_two_sum.rs
* Update hash_map.rs
* Update file headers
* Update coding style for Rust codes and Zig codes
* Update coding style for Rust codes and Zig codes
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-09 00:25:01 +08:00
sjinzh
8a388d8422
update rust codes for hash_map, binary_search, bubble_sort, stack, queue ( #330 )
...
* update rust codes
* update rust codes
* update rust codes
* update and add rust codes for hash_map, binary_search, bubble_sort
* update and add rust codes for hash_map, binary_search, bubble_sort
* add rust codes for chapter stack
* add rust codes for chapter queue
* add rust codes for chapter deque
2023-02-05 16:25:42 +08:00