hpstory
978d3c2ed7
fix(csharp): reformat csharp codes and docs ( #652 )
...
* fix(csharp): reformat the C# codes and docs
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-07-24 19:50:00 +08:00
hpstory
b43de88f71
feat(csharp): add csharp code for charper greedy ( #645 )
2023-07-22 02:54:41 +08:00
krahets
bba62bbe75
Fix the code of preorder_traversal_iii_compact
2023-07-21 22:08:26 +08:00
hpstory
2af77ff565
feat(csharp): add csharp code for array binary tree ( #632 )
2023-07-20 18:54:40 +08:00
krahets
c54536d1a1
Modify the problem of preorder_traversal_iii
2023-07-19 16:37:12 +08:00
krahets
4e13755023
Add implementation of array binary tree.
...
Rewrite the tree serialization and deserialization methods.
Add applications of array and linked list.
2023-07-19 16:09:27 +08:00
hpstory
7a6fd4b3dd
feat(csharp): add csharp code for charper divide and conquer ( #628 )
2023-07-19 01:19:49 +08:00
hpstory
5c09add1ec
feat(csharp): add csharp code for edit distance ( #604 )
2023-07-14 13:34:28 +08:00
hpstory
c9a8b0a9ea
feat(csharp): add csharp code for unbounded knapsack ( #596 )
2023-07-13 15:49:40 +08:00
krahets
ad0fd45cfb
Add Java and C++ code for the chapter of DP.
2023-07-11 01:08:26 +08:00
krahets
465dafe9ec
Update the text and code of DP.
2023-07-10 20:36:48 +08:00
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
2023-07-10 17:34:54 +08:00
krahets
cddddb8b8b
Update knapsack_problem and intro_to_dp
...
Fix avl_tree
2023-07-09 02:39:58 +08:00
hpstory
cbfb9e59ad
feat(csharp): add csharp code for knapsack ( #585 )
2023-07-08 05:28:39 +08:00
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
2023-07-03 16:44:43 +08:00
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
2023-06-26 23:08:55 +08:00
hpstory
ff58d4113c
feat(csharp/backtracking): add subset_sum_i, _ii, _i_naive ( #567 )
2023-06-25 20:54:58 +08:00
krahets
9fc1a0b2b3
Update n_queens code.
2023-06-21 02:56:28 +08:00
hpstory
8334df1b2b
feat(csharp): add top_k ( #554 )
2023-06-14 18:49:42 +08:00
Yudong Jin
9563965a20
Add the codes of hashmap ( #553 )
...
of chaining and open addressing
2023-06-14 02:01:06 +08:00
hpstory
671fbc84ee
feat(csharp): add binary_search_edge, heap_sort, selection_sort ( #527 )
2023-06-01 18:52:18 +08:00
krahets
b39e79be85
Fix remove() in binary search tree.
2023-05-26 20:34:22 +08:00
krahets
eb8df49993
Update bubble sort and insertion sort.
2023-05-23 21:20:14 +08:00
krahets
f6d290d903
Update the comments of bubble sort
...
and insertion sort
2023-05-22 23:05:37 +08:00
krahets
d95c628eef
Fix the test case of binary search.
2023-05-21 19:29:24 +08:00
krahets
d3cc149c5a
Merge the chapter of binary tree and searching.
2023-05-21 19:26:52 +08:00
krahets
c3e7455285
Refactor the section of bianry search.
2023-05-21 04:51:32 +08:00
krahets
399e5df39a
Polish some cotents.
2023-05-18 20:27:58 +08:00
krahets
817b4598d5
Fix a comment in binary_search_tree code
2023-05-17 19:04:46 +08:00
krahets
f35020b335
Fix bucket_sort.
2023-05-15 19:54:07 +08:00
krahets
fe69f7240d
Add figures to replace_linear_by_hashing.md
2023-05-09 00:36:18 +08:00
hpstory
40319e7f30
refactor: use global using to reduce usings in each file ( #486 )
2023-05-06 22:48:02 +08:00
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>
2023-05-05 03:34:52 +08:00
krahets
bc77a81330
Update the codes of backtracking.
2023-04-27 02:17:04 +08:00
krahets
9c070a028f
Update the code of permutations I and II
2023-04-27 01:29:00 +08:00
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>
2023-04-24 14:37:45 +08:00
krahets
40e6d2b415
Rename the common modules.
2023-04-24 04:20:51 +08:00
krahets
145975b335
Rename the common modules in Java, C++ and C.
2023-04-24 04:11:18 +08:00
krahets
de579aa3f4
Fix the file headers.
2023-04-23 19:36:07 +08:00
krahets
73dcb4cea9
Reformat the C# codes.
...
Disable creating new line before open brace.
2023-04-23 03:03:12 +08:00
krahets
bad759b4f8
Rename the naming of the coding files
...
in backtracking algorithm.
Add the typedef to docs.
2023-04-22 01:38:53 +08:00
hpstory
9eeefff447
refactor: add/refactor method in include, simplified print code ( #471 )
2023-04-21 14:59:22 +08:00
Yudong Jin
881d573790
Refactor the articles related to searching algorithm. Add the chapter of binary search. Add the section of searching algorithm revisited. ( #464 )
2023-04-17 18:22:18 +08:00
hpstory
878f12f701
feat(csharp/backtracking): add csharp code in backtracking ( #463 )
2023-04-17 13:37:06 +08:00
krahets
c8344e8636
Fix C# codes for the bucket sort,
...
counting sort and radix sort
2023-04-14 06:01:37 +08:00
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
2023-04-14 05:57:07 +08:00
krahets
f7ae9c8a02
Fix the return type of binary search tree and avl tree
2023-04-14 05:47:20 +08:00
krahets
0bec52d7cc
Polish the chapter of heap, introduction, preface.
...
Replace "其它" with "其他"
2023-04-09 19:12:37 +08:00
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 ( #452 )
...
* Replace 结点 with 节点
Update the footnotes in the figures
* Update mindmap
* Reduce the size of the mindmap.png
2023-04-09 04:32:17 +08:00
krahets
518b9efabc
Update a comment in array_hash_map
2023-03-15 03:48:31 +08:00