2114 Commits

Author SHA1 Message Date
5c09add1ec feat(csharp): add csharp code for edit distance (#604) 2023-07-14 13:34:28 +08:00
b2b2fa335c Update the summary of the chapter DP. 2023-07-14 03:08:08 +08:00
bbf8aa2019 Add the summary of chapter DP.
Finetune the articles of DP.
2023-07-14 02:54:47 +08:00
c3add62dc7 feat: add rust codes for graph chapter (#598)
* feat: add rust codes for graph chapter

* update: remove Vertex and it's method to vertex.rs
2023-07-14 00:47:32 +08:00
c9a8b0a9ea feat(csharp): add csharp code for unbounded knapsack (#596) 2023-07-13 15:49:40 +08:00
c3f80e52af Add the section of edit distance problem (#599) 2023-07-13 05:27:47 +08:00
73190703ea Add playing cards sorting example to
algos_are_everywhere
2023-07-12 03:52:33 +08:00
f548eae663 feat: add rust codes for bucket sort, counting sort and radix sort (#590)
* add rust codes for bucket sort, counting sort and radix sort

* update Cargo.toml for build
2023-07-12 00:29:39 +08:00
6733a4843c rust : add codes for chapter_backtracking (#594)
* rust : add codes for chapter_backtracking

* Update subset_sum_ii.rs

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-07-12 00:01:57 +08:00
c36010b324 add C code for graph (#583)
* Create chapter_graph

* Delete chapter_graph

* add C code for graph

* add C code for graph

* Create graph_adjacency_list.c

add C code for graph

* Update CMakeLists.txt

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update format and output

* Update graph_adjacency_list.c

* Update CMakeLists.txt for c code of graph

* Update format of c code

* Update format of c code

* Update format of c code

* Update verticesList

Change the data structure of the storage list from a linked list to a linear table

* Update graph_adjacency_list.c

* Update graph_adjacency_matrix.c

* Create graph_adjacency_list_test.c

* Create graph_bfs

* Update CMakeLists.txt

* Update graph_adjacency_list.c
2023-07-11 23:50:51 +08:00
05cde001df Finetune the articles. 2023-07-11 19:23:46 +08:00
1c02859b13 Add the section of unbounded knapsack problem. 2023-07-11 19:22:41 +08:00
ad0fd45cfb Add Java and C++ code for the chapter of DP. 2023-07-11 01:08:26 +08:00
465dafe9ec Update the text and code of DP. 2023-07-10 20:36:48 +08:00
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
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
2023-07-10 01:32:12 +08:00
6c133d42d5 rust code for heap sort (#579) 2023-07-09 03:01:44 +08:00
d6cc92614c add the section of dp solution pipeline (#588) 2023-07-09 02:43:00 +08:00
cddddb8b8b Update knapsack_problem and intro_to_dp
Fix avl_tree
2023-07-09 02:39:58 +08:00
cbfb9e59ad feat(csharp): add csharp code for knapsack (#585) 2023-07-08 05:28:39 +08:00
de4f8378a3 feat: add Swift codes for subset_sum_problem article (#584) 2023-07-08 05:27:40 +08:00
b4de2c0d13 feat: add Swift codes for top_k article (#578) 2023-07-06 03:16:14 +08:00
55d8b710fa Add the section of knapsack problem. (#580) 2023-07-06 00:06:14 +08:00
470bc10a74 Fix some contents. 2023-07-06 00:04:11 +08:00
763955aa8b fix: removeEdge not effects on graph in golang (#503)
* fix(graph/adjacency_list):removeEdge not effects on graph in golang

* remove unecessary package right now

* Delete go.sum

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-07-04 21:08:32 +08:00
200275b39a Update index.md
Add the code to hash_algorithm.md
2023-07-03 16:56:42 +08:00
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
87076132e7 feat: add Swift codes for hash_algorithm article (#576) 2023-07-03 16:42:49 +08:00
9b15072a85 Update the chapter of DP. 2023-07-03 16:35:37 +08:00
067e9d4fd1 Update intro_to_dp 2023-07-02 03:56:40 +08:00
663ac70064 Divide the intro_to_dp into two sections. 2023-07-01 22:38:20 +08:00
1113d03a8f Add new Q&As. 2023-07-01 22:37:26 +08:00
7f8b0fff54 feat: add Swift codes for hash_collision article (#569)
* feat: add Swift codes for hash_collision article

* refactor: extract common Pair

* Update hash_map.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-07-01 20:39:55 +08:00
69920a0599 Fix binary search.
Finetune a figure in intro_to_dp.
2023-07-01 20:07:21 +08:00
d8b2eb1a32 Fix the introduction to DP. 2023-07-01 05:02:01 +08:00
1804f8759e Update the figures in algorithms_are_everywhere. 2023-07-01 04:43:55 +08:00
92d165cfcc Modify the chapter names.
Fix the definition of algorithm.
Update the buttons in the landing page.
2023-07-01 03:03:42 +08:00
920512d872 Update the section of intro to DP. 2023-07-01 03:02:50 +08:00
ba481cb8e6 Simplify the python code of bst and avl tree. 2023-06-30 05:17:30 +08:00
98e797f1fc Fix the bst python code.
Fitune the chapters name.
2023-06-30 05:09:17 +08:00
9611a8f135 fix: compiler error and reset root (#570) 2023-06-30 05:05:07 +08:00
be8912073e Collapse the navigation by default 2023-06-30 04:49:03 +08:00
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.
2023-06-30 04:31:43 +08:00
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
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.
2023-06-26 23:06:15 +08:00
7876e3e88c Update Go code of subset sum. 2023-06-25 21:59:44 +08:00
3902ccbfc7 Fine-tune the docs. 2023-06-25 21:11:24 +08:00
3b3841ba36 The Rust version of the selection sort. (#524)
* The Rust version of the selection sort.

* The Rust version of the binary_search_edge

* update,The Rust version of the binary_search_edge and selection_sort

* update,The Rust version of the binary_search_edge and selection_sort

* update The Rust version of the binary_search_edge and selection_sort
2023-06-25 21:00:24 +08:00
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
2023-06-25 20:59:00 +08:00
62e8f0df50 feat: complete Dart codes for chapter_hashing (#566) 2023-06-25 20:57:37 +08:00