Commit Graph

914 Commits (c14ca74b8b720cd9a0738f6484282743e4976943)

Author SHA1 Message Date
Yudong Jin 29e6617ec1
Add the section of hash algorithm. Refactor the section of hash map. (#555)
1 year ago
hpstory 8334df1b2b
feat(csharp): add top_k (#554)
1 year ago
Yudong Jin 9563965a20
Add the codes of hashmap (#553)
1 year ago
krahets d3e597af94 Update cmakelists.txt
1 year ago
Yudong Jin a111b94f23
feat: Add the section of Top-K problem (#551)
1 year ago
krahets 0345a479a4 Fix some codes.
1 year ago
krahets 698c2e7fe5 Fix some codes and a figure.
1 year ago
Justin Tse 2532f06c7f
Add JavaScript and TypeScript code of heap sort, selection sort and binary search edge and Fix the indentation of TS code (#545)
1 year ago
krahets 6377e3316a Fix a comment in my_list.xx
1 year ago
liuyuxin d0b1bf9b1a
Update two_sum.dart (#544)
1 year ago
liuyuxin 281c0c618a
feat: modify some Dart codes and add Dart code blocks to the docs (#543)
1 year ago
liuyuxin 53e18bc6d6
feat: complete dart code for chapter_searching and chapter_sorting (#526)
1 year ago
gonglja 86209e0a7b
feat: Add C codes for bucket sort, heap sort, selection sort, binary search edge (#525)
1 year ago
Yudong Jin 025051c81b
Add Dart codes to the documents. (#529)
1 year ago
hpstory 671fbc84ee
feat(csharp): add binary_search_edge, heap_sort, selection_sort (#527)
1 year ago
krahets e35e2e31eb Add the figure of assembling blocks.
1 year ago
liuyuxin 8247a611d7
Update Dart code to output same as Java (#522)
1 year ago
Reanon 5bbcb12979
feat(sort/search): support heap/selection_sort/binary_search_edge in go code (#521)
1 year ago
nuomi1 56a4385202
feat: add Swift codes for heap_sort article (#520)
1 year ago
nuomi1 8bed60f0d7
feat: add Swift codes for selection_sort article (#519)
1 year ago
nuomi1 4ce20f6bbc
feat: add Swift codes for binary_search_edge article (#518)
1 year ago
krahets 6f76203dd9 Fix some mistakes.
1 year ago
krahets fb72aa385e Polish some texts.
2 years ago
krahets b39e79be85 Fix remove() in binary search tree.
2 years ago
Yudong Jin ee716a2c23
feat: Add the section of heap sort. (#516)
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 5dff1bd0e8 Update the insertion sort.
2 years ago
krahets eb8df49993 Update bubble sort and insertion sort.
2 years ago
xBLACKICEx abecea9ab6
feat(rust/tree): add binary_search_tree (#481)
2 years ago
krahets 89a9741e9e Fix some comments.
2 years ago
krahets f6d290d903 Update the comments of bubble 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)
2 years ago
krahets c3e7455285 Refactor the section of bianry search.
2 years ago
Jefferson Huang 921d87c238
feat: add chapter_binary_search by dart (#506)
2 years ago
krahets 399e5df39a Polish some cotents.
2 years ago
Jefferson Huang 335bc29af2
feat: add chapter_sorting and chapter_searching by dart (#497)
2 years ago
liuyuxin ec4202031e
feat: add dart code for chapter_graph (#498)
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 f35020b335 Fix bucket_sort.
2 years ago
ZeYanLin bae8298c8a
fix:range issue (#496)
2 years ago
Reanon a6b3f72826
feat(go/backtracking): add go code (#488)
2 years ago
nuomi1 170713c642
feat: add Swift codes for n_queens_problem article (#495)
2 years ago
krahets 649d8c4c86 Fix the indentation of JS and TS code.
2 years ago
liuyuxin 541f384e7c
Fix function call error and null safety (#491)
2 years ago
Justin Tse b52a98f178
Add JavaScript and TypeScript code of permutations and n_queens (Chapter of Backtracking) (#494)
2 years ago
Justin Tse 01345c23ca
Add JavaScript and TypeScript code of preorder traversal (Chapter of Backtracking) (#490)
2 years ago
krahets fe69f7240d Add figures to replace_linear_by_hashing.md
2 years ago
gonglja 53ca2144e2
Fix the problem in binary_tree_bfs.c and the problem that the memory is not released. (#487)
2 years ago
hpstory 40319e7f30
refactor: use global using to reduce usings in each file (#486)
2 years ago
krahets db6caf0d43 Update n queens.
2 years ago
hpstory 7b1de228a0
feat(csharp/backtracking): add csharp code in n queens (#485)
2 years ago
nuomi1 9ec560d6cd
feat: add Swift codes for permutations_problem article (#482)
2 years ago
Yudong Jin 67d647ab59
feat: Add the section of n queens problem (#483)
2 years ago
krahets 78c84dfec6 Fix counting_sort.c
2 years ago
nuomi1 561ef20462
feat: add Swift codes for backtracking_algorithm article (#480)
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
krahets 3f430fb85e Update the code of permutations i and ii
2 years ago
hpstory 918380b56a
feat(csharp/backtracking): add csharp code in permutations (#478)
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
Yudong Jin c6eecfd0dc
feat: Add the section of permutations problem. (#476)
2 years ago
Guanngxu 95ed93dc4b
feat: add C array hash map (#424)
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 73dcb4cea9 Reformat the C# codes.
2 years ago
gonglja ac6eece4f3
Modify code and comments (#473)
2 years ago
krahets bad759b4f8 Rename the naming of the coding files
2 years ago
hpstory 9eeefff447
refactor: add/refactor method in include, simplified print code (#471)
2 years ago
xBLACKICEx 9c2e5e2831
feat(rust/tree): add binary_tree_bfs, binary_tree_dfs, (#450)
2 years ago
krahets 661603d467 Add the hashtable based on uthash.h to docs
2 years ago
Yudong Jin dbc4906582
Publish the C codes to the docs. (#469)
2 years ago
krahets 6723cdbc7e Represent null with INT_MAX in C, C++.
2 years ago
krahets af0f92c18d Fine tune the C codes.
2 years ago
krahets c4ea4e39f3 Fomrat the JS and TS codes with prettier.
2 years ago
krahets 9a98ff8a5e Format the C code in Clang-Format Style: Microsoft
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
gonglja 28fdd26f2f
Fix some errors of cmake build and add hashing_search.c (#458)
2 years ago
hpstory 878f12f701
feat(csharp/backtracking): add csharp code in backtracking (#463)
2 years ago
krahets 0ade8d87ad Update the page tree
2 years ago
krahets f5b8978330 Add cpp code for the backtrack algorithm.
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
Gonglja 8bc41bc013
Add space_complexit under C and fix memory leak under CPP (#456)
2 years ago
krahets c8344e8636 Fix C# codes for the bucket sort,
2 years ago
hpstory 3b96ab6be9
feat(csharp/sorting): add bucked_sort, counting_sort, radix_sort (#455)
2 years ago
krahets b3640c53d1 Remove unused functions.
2 years ago
krahets f7ae9c8a02 Fix the return type of binary search tree and avl tree
2 years ago
krahets 9c9c8b7574 Format C++ codes in Clang-Format Style: Microsoft
2 years ago
krahets f8513455b5 Format the Java codes with the Reat Hat extension.
2 years ago
liuyuxin e56cf7c65e
feat: add dart code for chapter_heap (#454)
2 years ago
krahets 0bec52d7cc Polish the chapter of heap, introduction, preface.
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)
2 years ago
krahets 3f4e32b2b0 Polish the chapter of graph, hashing, appendix
2 years ago
Justin Tse 56243ccc5b
Add JavaScript and TypeScript code of bucket sort, counting sort and radix sort (Chapter of Sorting) (#451)
2 years ago
liuyuxin 42c89be785
feat: add dart code for chapter_tree (#448)
2 years ago
Yudong Jin 830ec69d39
Add bucket_sort.cpp and bucket_sort.py (#446)
2 years ago
liuyuxin 684f27cf5e
feat: add dart code for chapter_stack_and_queue and chapter_hashing (#445)
2 years ago
Reanon cac38c0c93
feat(bucket_sort): add bucket_sort code in go/c (#443)
2 years ago
nuomi1 944c34982c
feat: add Swift codes for bucket_sort article (#444)
2 years ago
Yudong Jin 34a1bca627
Add the section of radix sort. (#441)
2 years ago
krahets 4830dffd26 Update the test case in bucket_sort.java
2 years ago
krahets c338a6d8d8 Add the section of bucket sort
2 years ago
krahets 22898b6955 Simplify the contents of the sorting algorithms.
2 years ago
Guanngxu 9b0bdd929f
feat: add C merge sort (#434)
2 years ago
krahets 0a4a846e13 Fix python modules
2 years ago
Yudong Jin 8918ec9079
refactor: Follow the PEP 585 Typing standard (#439)
2 years ago
nuomi1 31be65cc55
refactor: use stride (#437)
2 years ago
nuomi1 5ba85ea69d
feat: add Swift codes for counting_sort article (#438)
2 years ago
Yudong Jin 65e47b0748
Add Python and C++ code for the counting sort. (#436)
2 years ago
krahets a78365401e Update counting_sort.go and radix_sort.go
2 years ago
Gonglja b9e97d3823
Fix access error when printArray(arr, 0) (#432)
2 years ago
Guanngxu e539c44f63
feat: add C counting_sort (#430)
2 years ago
Gonglja 0659c54e77
Fix memory leaks (#433)
2 years ago
Reanon c837882dbd
feat(counting_sort): support counting_sort in c/go (#431)
2 years ago
Guanngxu 2356cc1b2e
add C binary_search and linear_search (#426)
2 years ago
Gonglja 564ace6bc1
feat(codes/c): Add linkedlist_deque.c (#422)
2 years ago
Gonglja 3173d02538
fix(codes/cpp): Memory leak fix: the space was not freed when pop removed the element. (#423)
2 years ago
Yudong Jin ceeb138487
Add the section of counting sort. (#427)
2 years ago
krahets 3cd724a6d8 Update list_node.h
2 years ago
krahets 28f3c98697 Fix avl_tree.cpp
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
krahets d37d704b18 Update CMakeLists.txt for C++
2 years ago
sjinzh c2be6ebfbe
🚀feat: add rust codes for array_deque (#418)
2 years ago
Gonglja 567497a6b8
Add cpp codes cmake build method (#419)
2 years ago
krahets b37a088f7d Fix a comment in binary_tree_bfs.go
2 years ago
krahets 516cb17775 Replace poll with pop
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
Gonglja 2d17ee8e92
feat(codes/c): Add array_deque.c (#412)
2 years ago
Gonglja f73b6a3654
feat(codes/c): Add linkedlist_queue.c (#413)
2 years ago
Reanon be0c965886
feat(go/deque): support go array deque (#414)
2 years ago
sjinzh 6924d15f63
🚀feat: add rust codes for linkedlist_stack, linkedlist_queue and linkedlist_deque (#410)
2 years ago
Yudong Jin 9151eaf533
Add typing annotations to Python codes. (#411)
2 years ago
sjinzh 2029d2b939
feat: add rust codes for space_complexity (#409)
2 years ago
krahets 82bbdd444d Update the chapter of stack and queue.
2 years ago
sjinzh 050b922f8a
feat: add rust codes for linked_list and my_list (#408)
2 years ago
krahets bbef87ccfe Update the applications of deque.
2 years ago