hello-algo/codes
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>
2023-06-02 02:51:35 +08:00
..
c feat: Add C codes for bucket sort, heap sort, selection sort, binary search edge (#525) 2023-06-02 02:51:35 +08:00
cpp Fix remove() in binary search tree. 2023-05-26 20:34:22 +08:00
csharp feat(csharp): add binary_search_edge, heap_sort, selection_sort (#527) 2023-06-01 18:52:18 +08:00
dart Add Dart codes to the documents. (#529) 2023-06-02 02:40:26 +08:00
go feat(sort/search): support heap/selection_sort/binary_search_edge in go code (#521) 2023-05-29 12:23:52 +08:00
java Fix remove() in binary search tree. 2023-05-26 20:34:22 +08:00
javascript Fix remove() in binary search tree. 2023-05-26 20:34:22 +08:00
python Add the figure of assembling blocks. 2023-05-31 01:04:40 +08:00
rust Update bubble sort and insertion sort. 2023-05-23 21:20:14 +08:00
swift feat: add Swift codes for heap_sort article (#520) 2023-05-29 12:20:32 +08:00
typescript Fix remove() in binary search tree. 2023-05-26 20:34:22 +08:00
zig Update the section of heap. 2023-05-25 20:25:19 +08:00