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
krahets
d62156fb58
Fix two_sum.js and .ts
1 year ago
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 )
...
of chaining and open addressing
1 year ago
krahets
d3e597af94
Update cmakelists.txt
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
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 )
...
* Fix the indentation of TS code
* Add JavaScript and TypeScript code of heap sort, selection sort and binary search edge
* Fix the style of JS and TS code
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 )
...
* fix(codes/cpp): Memory leak fix: the space was not freed when pop removed the element.
* fix(codes/cpp): Fix access error when printArray(arr, 0)
* Update PrintUtil.hpp
* fix(codes/c): Fix some errors of cmake build
* feat(codes/c): Add hashing_search.c
* styles(codes/c): Modify function description
* styles(codes/c): Modify binary_search.c code style
* fix(codes/c): Fix the problem in binary_tree_bfs.c and the problem that the memory is not released.
* feat: Add preorder_traversal_i_compact.c
* feat(codes/c): Add head_sort.c
* feat(codes/c): Add bucket_sort.c
* feat(codes/c): Add binary_search_edge.c
* fix(codes/c): Add programs that are not managed by cmake (c code)
* feat(codes/c): Add selection_sort.c
* style(codes/c): Change swap in selection_sort.c to `selectionSort`
* styles(codes/c): Change style.
* fix(codes/c): Fix some formatting errors and temporarily remove backtracking chapters
---------
Co-authored-by: Yudong Jin <krahets@163.com>
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.
...
Update some texts.
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 )
...
* feat(go): support binary search edge and testcase
* feat(go): support selection sort and testcase
* feat(go): support heap sort and testcase
* Update selection_sort_test.go
* Update selection_sort.go
* Update heap_sort.go
---------
Co-authored-by: Yudong Jin <krahets@163.com>
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 )
...
* 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
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 )
...
* ✨ feat(rust/tree): add binary_tree_dfs
* ✨ feat(rust/tree): add binary_tree_bfs
* 🐞 fix(rust/tree): can't list to any kind of tree
* ✨ feat(rust/tree): add binary_search_tree
* Update binary_search_tree.rs
* 🐞 fix(rust/tree): corret writing mistakes
* 🦄 refactor(rust/tree): remove get_next_node() function
* Update binary_search_tree.rs
---------
Co-authored-by: Yudong Jin <krahets@163.com>
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
Jefferson Huang
921d87c238
feat: add chapter_binary_search by dart ( #506 )
...
* feat: add chapter_sorting by dart
* feat: add chapter_searching by dart
* feat: add chapter_binary_search by dart
---------
Co-authored-by: huangjianqing <huangjianqing@52tt.com>
2 years ago
krahets
399e5df39a
Polish some cotents.
2 years ago
Jefferson Huang
335bc29af2
feat: add chapter_sorting and chapter_searching by dart ( #497 )
...
* feat: add chapter_sorting by dart
* feat: add chapter_searching by dart
---------
Co-authored-by: huangjianqing <huangjianqing@52tt.com>
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