krahets
bba62bbe75
Fix the code of preorder_traversal_iii_compact
1 year ago
hpstory
2af77ff565
feat(csharp): add csharp code for array binary tree ( #632 )
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
hpstory
7a6fd4b3dd
feat(csharp): add csharp code for charper divide and conquer ( #628 )
1 year ago
hpstory
5c09add1ec
feat(csharp): add csharp code for edit distance ( #604 )
1 year ago
hpstory
c9a8b0a9ea
feat(csharp): add csharp code for unbounded knapsack ( #596 )
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
hpstory
5ea016816a
fix(csharp): fix csharp method name in knapsack ( #592 )
...
* fix(csharp): fix csharp method name in knapsack
* feat(csharp): add csharp code for min path sum
* move INF define into method
* change INF to int max value
1 year ago
krahets
cddddb8b8b
Update knapsack_problem and intro_to_dp
...
Fix avl_tree
1 year ago
hpstory
cbfb9e59ad
feat(csharp): add csharp code for knapsack ( #585 )
1 year ago
hpstory
bf1bccc1ae
feat(csharp): add csharp code for charper dynamic programming ( #574 )
...
* feat(csharp): add csharp code for charper dynamic programming
* add climbing_stairs_constraint_dp
1 year ago
hpstory
4722e7bca7
feat(csharp/hashing): add code and update docs to chapter hashing ( #568 )
...
* feat(csharp/hashing): add code and update docs to chapter hashing
* revert linked list to list
1 year ago
hpstory
ff58d4113c
feat(csharp/backtracking): add subset_sum_i, _ii, _i_naive ( #567 )
1 year ago
krahets
9fc1a0b2b3
Update n_queens code.
1 year ago
hpstory
8334df1b2b
feat(csharp): add top_k ( #554 )
1 year ago
Yudong Jin
9563965a20
Add the codes of hashmap ( #553 )
...
of chaining and open addressing
1 year ago
hpstory
671fbc84ee
feat(csharp): add binary_search_edge, heap_sort, selection_sort ( #527 )
1 year ago
krahets
b39e79be85
Fix remove() in binary search tree.
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
f35020b335
Fix bucket_sort.
2 years ago
krahets
fe69f7240d
Add figures to replace_linear_by_hashing.md
2 years ago
hpstory
40319e7f30
refactor: use global using to reduce usings in each file ( #486 )
2 years ago
hpstory
7b1de228a0
feat(csharp/backtracking): add csharp code in n queens ( #485 )
...
* feat(csharp/backtracking): add csharp code in n queens
* fix format
* Update n_queens.cs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
krahets
bc77a81330
Update the codes of backtracking.
2 years ago
krahets
9c070a028f
Update the code of permutations I and II
2 years ago
hpstory
918380b56a
feat(csharp/backtracking): add csharp code in permutations ( #478 )
...
* feat(csharp/backtracking): add csharp code in permutations
* Update permutations_i.cs
* Update permutations_ii.cs
* Update permutations_ii.cs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
krahets
40e6d2b415
Rename the common modules.
2 years ago
krahets
145975b335
Rename the common modules in Java, C++ and C.
2 years ago
krahets
de579aa3f4
Fix the file headers.
2 years ago
krahets
73dcb4cea9
Reformat the C# codes.
...
Disable creating new line before open brace.
2 years ago
krahets
bad759b4f8
Rename the naming of the coding files
...
in backtracking algorithm.
Add the typedef to docs.
2 years ago
hpstory
9eeefff447
refactor: add/refactor method in include, simplified print code ( #471 )
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
hpstory
878f12f701
feat(csharp/backtracking): add csharp code in backtracking ( #463 )
2 years ago
krahets
c8344e8636
Fix C# codes for the bucket sort,
...
counting sort and radix sort
2 years ago
hpstory
3b96ab6be9
feat(csharp/sorting): add bucked_sort, counting_sort, radix_sort ( #455 )
...
* feat(csharp/sorting): add bucked_sort, counting_sort, radix_sort
* use top level statements
2 years ago
krahets
f7ae9c8a02
Fix the return type of binary search tree and avl tree
2 years ago
krahets
0bec52d7cc
Polish the chapter of heap, introduction, preface.
...
Replace "其它" with "其他"
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
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