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
krahets
5f3ad1ed3d
A few bug fixes.
1 year ago
krahets
355cc3a6b1
Bug fixes to C code.
1 year ago
Spark
2035aa0cf1
feat: iteration & recursion in Zig ( #804 )
...
* iteration & recursion in Zig
* missing part in time_complexity.md (zig)
* build.zig sync
* Update recursion.zig
* Update iteration.zig
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
sjinzh
0c470d19c8
upate build.zig ( #874 )
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
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
krahets
932d14644d
Polish the content
...
Polish the chapter preface, introduction and complexity anlysis
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
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
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
krahets
54dc288e61
1. Remove Pair class from hash coliision code.
...
2. Fix the comment in my_list code.
3. Add a Q&A to the summary of sorting.
1 year ago
sjinzh
41b7b229a3
upgrade zig codes to 0.11.0-dev.3379+629f0d23b ( #563 )
...
* upgrade zig codes to 0.11.0-dev.3379+629f0d23b
* upgrade zig codes to 0.11.0-dev.3379+629f0d23b
1 year ago
Yudong Jin
9563965a20
Add the codes of hashmap ( #553 )
...
of chaining and open addressing
1 year ago
krahets
6377e3316a
Fix a comment in my_list.xx
1 year ago
krahets
11c835d79c
Update the section of heap.
2 years ago
krahets
eb8df49993
Update bubble sort and insertion sort.
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
krahets
d3cc149c5a
Merge the chapter of binary tree and searching.
2 years ago
krahets
c3e7455285
Refactor the section of bianry search.
2 years ago
krahets
399e5df39a
Polish some cotents.
2 years ago
krahets
817b4598d5
Fix a comment in binary_search_tree code
2 years ago
krahets
fe69f7240d
Add figures to replace_linear_by_hashing.md
2 years ago
Yudong Jin
881d573790
Refactor the articles related to searching algorithm. Add the chapter of binary search. Add the section of searching algorithm revisited. ( #464 )
2 years ago
krahets
f7ae9c8a02
Fix the return type of binary search tree and avl tree
2 years ago
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 ( #452 )
...
* Replace 结点 with 节点
Update the footnotes in the figures
* Update mindmap
* Reduce the size of the mindmap.png
2 years ago
Yudong Jin
34a1bca627
Add the section of radix sort. ( #441 )
2 years ago
krahets
0840bc2043
Fix the deconstructor of linkedlist_queue.cpp
2 years ago
krahets
518b9efabc
Update a comment in array_hash_map
2 years ago
krahets
d5afd93571
Update array_hash_map
2 years ago
sjinzh
c2be6ebfbe
🚀 feat: add rust codes for array_deque ( #418 )
...
* update zig codes style
* feat: add rust codes for array_deque
* Update array_deque.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
28aacccf44
refactor: Replace 'poll' with 'pop' in Heap ( #416 )
2 years ago
Yudong Jin
8aebbaad21
refactor: Replace poll with pop in Queue and Deque ( #415 )
2 years ago
sjinzh
6924d15f63
🚀 feat: add rust codes for linkedlist_stack, linkedlist_queue and linkedlist_deque ( #410 )
...
* feat: add rust codes for space_complexity
* feat: add rust codes for linkedlist_stack
* update
* feat: add rust codes for linkedlist_queue
* feat: add rust codes for linkedlist_deque
* update
2 years ago
sjinzh
050b922f8a
feat: add rust codes for linked_list and my_list ( #408 )
...
* feat: add rust codes for linked_list
* feat: add rust codes for my_list
* Update linked_list.rs
* Update print_util.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
krahets
9ea24e8b26
Change the operations sequence of the likedlist's insert() method.
2 years ago
krahets
0b72fef381
Fix quick_sort.py
2 years ago
方圆
f0d8d8b1b0
feat: add ArrayDeque ( #348 )
...
* 双向队列: java 代码
* 双向队列: markdown 内容
* Rewrite array_deque.java
Update array_queue.java, linkedlist_deque.java
* Add ArrayDeque figures and rewrite the contents
---------
Co-authored-by: krahets <krahets@163.com>
2 years ago
krahets
7238c560d1
Update binary_tree_bfs codes
2 years ago
krahets
300016393b
Add code source blocks to the chapter Graph.
...
Fix "函数" and "方法"
2 years ago
sjinzh
08b7474894
Update the coding style for Rust and Zig ( #356 )
...
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
krahets
ec25970e8e
Update .gitignore
...
Add build script for Zig.
2 years ago