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
11 months ago
易春风
ad663615e6
Fix the issues of discusscomment 7949412 and 7985550 ( #1027 )
11 months ago
codingonion
7ffef7e1d6
update the author info `sjinzh` -> `codingonion` ( #1017 )
...
* update author information
* Update index.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
11 months ago
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
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 )
...
* 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
12 months ago
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
1 year ago
易春风
9baf4a1753
Use Vec.last() method to access the top item of stack. ( #942 )
...
* Use Vec.last() method to access the top item of stack.
* Use Vec.last() method to access the top item of stack.
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 )
...
* Add top_k.c based on my_heap.c
* Improve the implementation of top_k.js
* Add a comment to top_k
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
易春风
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