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
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
krahets
6da6d24193
Fix the code of hash map chaining.
1 year ago
krahets
dbe3b4d6ba
Fine tune.
1 year ago
krahets
b067016bfa
Update preorder_traversal_iii.
1 year ago
krahets
90af225dae
Remove `-> None` for Python functions
1 year ago
krahets
bba62bbe75
Fix the code of preorder_traversal_iii_compact
1 year ago
Yudong Jin
075c3abf88
Add the section of max product cutting problem. ( #642 )
1 year ago
Yudong Jin
76f11ae168
Add the section of max capacity problem. ( #639 )
1 year ago
Yudong Jin
2b7d7aa827
Add the chapter of greedy. ( #633 )
...
Add the section of fractional knapsack.
1 year ago
krahets
c54536d1a1
Modify the problem of preorder_traversal_iii
1 year ago
krahets
4e13755023
Add implementation of array binary tree.
...
Rewrite the tree serialization and deserialization methods.
Add applications of array and linked list.
1 year ago
krahets
c68f18e480
Finetune
1 year ago
krahets
1f784dadb0
Add Java and C++ code for the chapter of
...
divide and conquer.
1 year ago
krahets
fc7bcb615d
Add the section of binary_search_recur.
1 year ago
Yudong Jin
909daea105
Add the section of hanota problem. ( #614 )
1 year ago
krahets
f839dc1b0e
Fix naming of the section
...
build_binary_tree_problem
1 year ago
Yudong Jin
51a4c5089e
feat: Add the chapter of divide and conquer ( #609 )
...
* Add the chapter of divide and conquer.
Add the section of divide and conquer algorithm.
Add the section of build tree problem.
* Update build_tree.py
1 year ago
Yudong Jin
c3f80e52af
Add the section of edit distance problem ( #599 )
1 year ago
krahets
1c02859b13
Add the section of unbounded knapsack problem.
1 year ago
krahets
ad0fd45cfb
Add Java and C++ code for the chapter of DP.
1 year ago
krahets
465dafe9ec
Update the text and code of DP.
1 year ago
Yudong Jin
d6cc92614c
add the section of dp solution pipeline ( #588 )
1 year ago
krahets
cddddb8b8b
Update knapsack_problem and intro_to_dp
...
Fix avl_tree
1 year ago
Yudong Jin
55d8b710fa
Add the section of knapsack problem. ( #580 )
1 year ago
krahets
470bc10a74
Fix some contents.
1 year ago
krahets
69920a0599
Fix binary search.
...
Finetune a figure in intro_to_dp.
1 year ago
krahets
920512d872
Update the section of intro to DP.
1 year ago
krahets
ba481cb8e6
Simplify the python code of bst and avl tree.
1 year ago
krahets
98e797f1fc
Fix the bst python code.
...
Fitune the chapters name.
1 year ago
Yudong Jin
3f03663d2e
feat: add the section of the introduction to dynamic programming ( #571 )
...
* add the section of the introduction to
dynamic programming
* add a code comments.
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
Yudong Jin
1b1af8d038
Add Java and C++ code for the section hash algorithm ( #560 )
1 year ago
Yudong Jin
0e2ddba30f
Add the section of subset sum problem. ( #558 )
1 year ago
krahets
9fc1a0b2b3
Update n_queens code.
1 year ago
Yudong Jin
29e6617ec1
Add the section of hash algorithm. Refactor the section of hash map. ( #555 )
1 year ago
Yudong Jin
9563965a20
Add the codes of hashmap ( #553 )
...
of chaining and open addressing
1 year ago
Yudong Jin
a111b94f23
feat: Add the section of Top-K problem ( #551 )
...
* Add the section of Top-K problem
* Update my_heap.py
* Update build_heap.md
* Update my_heap.py
1 year ago
krahets
6377e3316a
Fix a comment in my_list.xx
1 year ago
krahets
e35e2e31eb
Add the figure of assembling blocks.
...
Update some texts.
1 year ago
krahets
b39e79be85
Fix remove() in binary search tree.
2 years ago
Yudong Jin
ee716a2c23
feat: Add the section of heap sort. ( #516 )
...
* Add the section of heap sort.
* Update heap_sort.cpp
2 years ago
krahets
11c835d79c
Update the section of heap.
2 years ago
krahets
dc49fdf75e
Polish some contents.
2 years ago
Yudong Jin
77b4f4c400
Add the section of selection sort. ( #513 )
2 years ago
krahets
eb8df49993
Update bubble sort and insertion sort.
2 years ago
krahets
89a9741e9e
Fix some comments.
2 years ago
krahets
f6d290d903
Update the comments of bubble sort
...
and insertion sort
2 years ago
krahets
5b406666d8
Polish the content
2 years ago
krahets
e196962d0a
Simplify the declarations of the Python code.
2 years ago
krahets
24d90931e3
Update the callouts for the algorithm problems.
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
Yudong Jin
b5eb9ca271
feat: Add the section of binary search edge. ( #508 )
...
* Add the section of binary search edge.
* Delete binary_search_rotation.py
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
b093162208
Fix my_list.py
2 years ago
krahets
fe69f7240d
Add figures to replace_linear_by_hashing.md
2 years ago
Yudong Jin
67d647ab59
feat: Add the section of n queens problem ( #483 )
...
* Add the section of n queens problem
* Update n_queens.py
* Update n_queens.java
* Update n_queens.cpp
* Update n_queens.java
2 years ago
krahets
bc77a81330
Update the codes of backtracking.
2 years ago
krahets
3f430fb85e
Update the code of permutations i and ii
2 years ago
Yudong Jin
c6eecfd0dc
feat: Add the section of permutations problem. ( #476 )
...
* Add the section of permutations problem.
* Update permutations_problem.md
2 years ago
krahets
de579aa3f4
Fix the file headers.
2 years ago
krahets
3590262c7e
Modify the exception handling in Java and Python.
2 years ago
krahets
bad759b4f8
Rename the naming of the coding files
...
in backtracking algorithm.
Add the typedef to docs.
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
1600ed6dee
Fix the codes of backtracking.
2 years ago
Yudong Jin
49606fd199
Add the chapter of backtracking. ( #459 )
2 years ago
krahets
f7ae9c8a02
Fix the return type of binary search tree and avl tree
2 years ago
krahets
f8513455b5
Format the Java codes with the Reat Hat extension.
2 years ago
krahets
0bec52d7cc
Polish the chapter of heap, introduction, preface.
...
Replace "其它" with "其他"
2 years ago
krahets
10e2180013
Unify the comment style of python codes
2 years ago
Yudong Jin
5ddcb60825
Format python codes with black. ( #453 )
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
830ec69d39
Add bucket_sort.cpp and bucket_sort.py ( #446 )
2 years ago
Yudong Jin
34a1bca627
Add the section of radix sort. ( #441 )
2 years ago
krahets
22898b6955
Simplify the contents of the sorting algorithms.
2 years ago
krahets
0a4a846e13
Fix python modules
2 years ago
Yudong Jin
8918ec9079
refactor: Follow the PEP 585 Typing standard ( #439 )
...
* Follow the PEP 585 Typing standard
* Update list.py
2 years ago
Yudong Jin
65e47b0748
Add Python and C++ code for the counting sort. ( #436 )
2 years ago
krahets
518b9efabc
Update a comment in array_hash_map
2 years ago
krahets
d5afd93571
Update array_hash_map
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
Yudong Jin
9151eaf533
Add typing annotations to Python codes. ( #411 )
2 years ago
krahets
bbef87ccfe
Update the applications of deque.
2 years ago
krahets
7c501140f0
Update code style for Python
2 years ago
Yudong Jin
0ed596e251
Add array_deque.py and linkedlist_deque.py ( #399 )
2 years ago
krahets
9ea24e8b26
Change the operations sequence of the likedlist's insert() method.
2 years ago
zhuoqinyue
037aaeeaa2
fix: update the code comment ( #386 )
...
Co-authored-by: steak-zhuo <zhuoqinyue@gmail.com>
2 years ago
krahets
adbb12c011
Fix a comment in graph_adjacency_list
2 years ago
krahets
73c8920c6b
Add python code of Heap and Graph to docs.
2 years ago
Yudong Jin
1f4dba4845
Add the Python codes for the chapter of Graph and Heap ( #382 )
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