Reanon
e9341c51b5
fix(go): record slice array result, fixed #1075 ( #1087 )
2024-02-18 18:37:07 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yudong Jin
a005c6ebd3
Some improvements ( #1073 )
...
* Update avatar's link in the landing page
* Bug fixes
* Move assets folder from overrides to docs
* Reduce figures' corner radius
* Update copyright
* Update header image
* Krahets -> krahets
* Update the landing page
2024-02-07 22:21:18 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yudong Jin
f6976978dd
Prepare 1.0.0 release ( #1044 )
...
* Update the book with the thrid revised edition
* Fix a typo
* Update the contributors' information
* Update the mindmap
* Update the version number
2024-01-14 03:16:20 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
hpstory
b9ae4ffe9a
feature: add auto-build-and-test workflow for go ( #1019 )
...
* fix(csharp): unified array statement
* feature: add workflow for go/js/ts/zig
* fix python UnicodeDecodeError on windows
* Update space_complexity.go
* Update space_complexity_test.go
* Update space_complexity.go
* remove nodejs, zip workflow
---------
Co-authored-by: Yudong Jin <krahets@163.com >
2024-01-12 14:17:21 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yudong Jin
ddd375af20
feat: Add visualizing code blocks based on the pythontutor ( #1029 )
...
* Update copyright
* Update the Python code
* Fix the code comments in ArrayBinaryTree
* Fix the code comments in ArrayBinaryTree
* Roll back time_comlexity.py
* Add the visualizing code(pythontutor) blocks to the chapter complexity, data structure, array and linked list, stack and queue, hash table, and backtracking
* Fix the code comments
2024-01-07 04:04:01 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
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
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Reanon
d0f4fa69a6
fix(go): fix go code , refer to @joengtou @wcig @shenjq ( #992 )
2023-12-16 18:52:28 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
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
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yudong Jin
b824d149cb
fix: Several code bug fixes ( #973 )
...
* Update counting_sort.c and quick_sort.c
* Code bug fixes.
2023-11-29 23:14:55 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yudong Jin
fcbaf101a4
Several bug fixes and improvements ( #945 )
...
* Update Dockerfile for code debugging.
* Format Python code using Black.
* Improve dark theme by defining html classes for the figures, animations and cover images.
* Fix several glossary translation.
* Update a code comment.
* Fix climbing_stairs_backtrack: the pruning should not require the sorted choices list.
* Update the code of array and list traversal.
* Fix a rendering issue of README.md
* Update code of list traversal.
* Fix array_definition.png
* Update README.md
* Fix max_capacity_moving_short_board.png
* Fix array.dart
* Fix array.dart
* Fix array.dart
* Fix array.dart
2023-11-14 21:27:35 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
5f3ad1ed3d
A few bug fixes.
2023-11-03 22:48:43 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
355cc3a6b1
Bug fixes to C code.
2023-11-01 05:14:22 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yudong Jin
e441ee4e35
Re-implement merge sort function. ( #888 )
2023-10-26 02:56:33 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yudong Jin
7822bf9cd4
feat: add top_k.c and refactor top_k.js ( #889 )
...
* Add top_k.c based on my_heap.c
* Improve the implementation of top_k.js
* Add a comment to top_k
2023-10-26 02:54:19 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
5392afd44b
fix several bugs
2023-10-17 23:45:31 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
346c8451de
Fix code naming style.
2023-10-15 21:18:09 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
a8c624fa5a
Fix the code in min_path_sum
2023-10-14 03:25:11 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
c37b7c807b
Several bug fixes
2023-10-09 18:21:18 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
fb552987f5
Update variable names in list and my_list
2023-10-09 18:20:42 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
hpstory
e03022d5fb
fix: Polishing code format on linearLogRecur, convert String type to string ( #841 )
2023-10-08 07:33:30 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
47
70cff2d99f
fix: Fixed the state transition error in minCostClimbingStairsDP function ( #839 )
...
Signed-off-by: foursevenlove <foursevenlove@gmail.com >
2023-10-07 08:52:12 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Nepenthe
61e1d1faec
feat(go): add forLoopRecur func ( #816 )
2023-10-07 08:47:58 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
ff8e7ceec5
Several bug fixes.
2023-09-24 20:38:21 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
e3773b7f76
Several bug fixes and improments.
2023-09-24 19:35:32 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
cb9c14f5ff
fix build_tree, binary_search_tree.cs
...
fix two figures
2023-09-15 02:08:09 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
f71b2a40da
fix preorder_traversal_iii_compact code
2023-09-09 00:51:00 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
dd72335235
Format C, C++, C#, Go, Java, Python, Rust code.
2023-09-02 23:54:38 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
a47a974a6a
fix climbing_stairs_constraint_dp code
2023-08-31 02:31:58 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
628d8a516b
fix binary_search_tree code
2023-08-31 02:31:31 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Reanon
20f53e9fc4
feat(go): add iterration/recursion & fix bugs ( #698 )
2023-08-28 13:35:39 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
9731a46d67
Fix a definition.
2023-08-27 00:50:18 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
f524b957d4
Finetune and fix
2023-08-24 17:48:35 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Reanon
628a274b50
feat(go): support binary search & fix comments ( #691 )
2023-08-23 21:32:40 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
f5dda8d99a
Polish the content
2023-08-21 03:06:53 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
2023-08-20 14:51:39 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
c310edb672
Polish the chapter of array and linkedlist
2023-08-17 05:13:19 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
6ef4dc6444
Fix the content
2023-08-10 11:35:16 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
932d14644d
Polish the content
...
Polish the chapter preface, introduction and complexity anlysis
2023-08-08 23:16:33 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yudong Jin
71074d88f6
Add the section of binary search insertion. ( #671 )
...
Refactor the section of binary search edge.
Finetune the figures of binary search.
2023-08-04 05:16:56 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
6da6d24193
Fix the code of hash map chaining.
2023-08-01 17:05:40 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Reanon
575bcf58ef
feat(go/tree): support array binary tree ( #655 )
2023-07-26 11:04:09 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
35973068a7
Prepare for release 1.0.0b4
2023-07-26 03:15:49 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
b067016bfa
Update preorder_traversal_iii.
2023-07-25 16:39:38 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
1777a16865
Fix Go comment and link
2023-07-24 13:11:00 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Reanon
c1adeb2399
feat(go/dp): support dynamic programming ( #622 )
...
* feat(go/dp): support climbing stairs
* feat(go/dp): support knapsack
* feat(go/dp): coin_change & edit_distance
2023-07-24 03:08:35 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Reanon
10e5e7499b
feat(go/greedy): add greedy in go code ( #648 )
2023-07-24 03:06:47 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Hongyun Zhang
eb695937a4
Add divide and conquer go code ( #638 )
...
* feat: Add Go code to binary search recursion under divide and conquer
* style: Code comment standardization
* style: modify function comment
* fix: fixed error when the list is empty
* Update print_utils.go
* Delete print_utils_test.go
* feat: add Go code to divide and conquer
* Update build_tree.go
* style: modify function name
---------
Co-authored-by: Yudong Jin <krahets@163.com >
2023-07-21 22:16:42 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
krahets
bba62bbe75
Fix the code of preorder_traversal_iii_compact
2023-07-21 22:08:26 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Hongyun Zhang
8068c42688
fixed error when the list is empty ( #637 )
...
* feat: Add Go code to binary search recursion under divide and conquer
* style: Code comment standardization
* style: modify function comment
* fix: fixed error when the list is empty
* Update print_utils.go
* Delete print_utils_test.go
---------
Co-authored-by: Yudong Jin <krahets@163.com >
2023-07-21 14:47:37 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Hongyun Zhang
4e4a13e1bb
feat: Add Go code to binary search recursion under divide and conquer ( #630 )
...
* feat: Add Go code to binary search recursion under divide and conquer
* style: Code comment standardization
* style: modify function comment
2023-07-20 18:57:28 +08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)