Commit Graph

138 Commits (b3b10f230050c4b9291bd98956cb985427806407)

Author SHA1 Message Date
rongyi 68a61f23d5
make dfs same as c/c++ and other small improvement (#1543)
2 weeks ago
rongyi ef3010bd77
idomatic structure rust code, no include macro (#1528)
3 weeks ago
rongyi 7a345fc66b
Idiomatic rust (#1505)
2 months ago
Risun 2cd2a94ce6
fix(backtracking): minor mistake in Rust code for subset_sum_ii (#1487)
3 months ago
rongyi 8a6ce26f6a
idiomatic rust (#1485)
3 months ago
Rui 2758e06374
remove unnecessary type conversions (#1411)
4 months ago
rongyi 017b95f003
Make rust more idomatic (#1386)
5 months ago
rongyi 63bcdb798a
[Rust] make rust part more idomatic and fix panic of backtrack template (#1370)
6 months ago
rongyi 21be3fdaf8
[Rust] Normalize mid calculation in case overflow (#1363)
6 months ago
CarrotDLaw 9afbc9eda5
[Rust] Use arrays instead of vectors in Chapter 4.1 Array (#1357)
6 months ago
rongyi 840692acce
Idiomatic rust (#1364)
6 months ago
rongyi 063a41fa7f
[Rust] No need to use mut iter (#1356)
6 months ago
rongyi ebff1cce9f
Stick with swap (#1352)
6 months ago
rongyi 7a96f6a743
Fix panic when array's len is less than 2 (#1353)
6 months ago
rongyi 56a165bf98
cargo fmt code (#1349)
6 months ago
Yudong Jin cfc273783b
feat: Add glossary and description for "哈希集合" (#1310)
7 months ago
rongyi a88c7b9862
Change remove to pop (#1309)
7 months ago
rongyi f901a31bae
fix(Rust): no need to clone in hash put fn (#1226)
7 months ago
Yudong Jin b3f100aff1
Bug fixes and improvements (#1205)
8 months ago
Yudong Jin 034ee65e9a
Fix bugs and harmonize the code comments (#1199)
8 months ago
rongyi 556af1624c
No need to match expand pop, just return it (#1154)
8 months ago
Yudong Jin 3ea91bda99
fix: Use int instead of float for the example code of log time complexity (#1164)
8 months ago
Nan Lei 300a781fab
Update code comment of quadratic in time_complexity (#1155)
8 months ago
Yudong Jin 7f43f92ae9
Bug fixes and improvements (#1152)
8 months ago
rongyi 6f1ec66949
Fix rust compile warning and an obvious print error in array.rs (#1144)
8 months ago
rongyi 7b1094318b
cargo fmt rust code (#1131)
8 months ago
Yudong Jin 9769e14017
Fix the median_three mehod for quick sort (#1134)
8 months ago
Yudong Jin 01c67781fa
Bug fixes and improvements (#1133)
8 months ago
易春风 d4d281cd67
Fix the issue of discussion 514 (#1064)
10 months ago
Yudong Jin f6976978dd
Prepare 1.0.0 release (#1044)
10 months ago
Yudong Jin ddd375af20
feat: Add visualizing code blocks based on the pythontutor (#1029)
10 months ago
易春风 ad663615e6
Fix the issues of discusscomment 7949412 and 7985550 (#1027)
11 months ago
codingonion 7ffef7e1d6
update the author info `sjinzh` -> `codingonion` (#1017)
11 months ago
Yudong Jin f68bbb0d59
Update the book based on the revised second edition (#1014)
11 months ago
易春风 1ee0a7a7bf
Fix the issue of discusscomment 7938404 (#1006)
11 months ago
易春风 b115a2b895
Fix the issue of discuss comment 7919887 (#996)
11 months ago
Yudong Jin e720aa2d24
feat: Revised the book (#978)
12 months ago
Yudong Jin fcbaf101a4
Several bug fixes and improvements (#945)
1 year ago
易春风 9baf4a1753
Use Vec.last() method to access the top item of stack. (#942)
1 year ago
易春风 c81d5e091b
Unsize type must be greater than or equal to 0 (#931)
1 year ago
krahets 5f3ad1ed3d A few bug fixes.
1 year ago
krahets 355cc3a6b1 Bug fixes to C code.
1 year ago
krahets 5385057993 Replace "结点" with "节点".
1 year ago
易春风 3628b40f44
refactor: re-implement the rust codes of merge sort (#891)
1 year ago
Yudong Jin 7822bf9cd4
feat: add top_k.c and refactor top_k.js (#889)
1 year ago
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