hello-algo/codes/c/chapter_searching
Fleey 6a74972080
Some checks failed
C / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 31s
C / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 12s
C / build (Release, cl, cl, windows-latest) (push) Has been cancelled
fix(lang: c, chapters: searching, sorting): Some serious errors (#1531)
* fix: correct hash table insertion

* Use a pointer to a pointer instead of a single pointer in the insert function, ensuring proper updates to the hash table
* Bug fixes: This fixes issues with empty results.

* fix: correct issues in radix sort

* Replaced loop-based array copy with memcpy to ensure efficient memory copying in countingSortDigit
* Fixed a bug in radixSort where the maximum value search loop skipped the last element
* Bug fix: Ensures all elements are checked when determining the maximum value in the array

* perf: improve memory management by adding explicit memory release

* revert: Revert to using the old loop override array method and drop specific api's like memcpy.
2024-11-10 02:00:53 +08:00
..
binary_search.c feat: Revised the book (#978) 2023-12-02 06:21:34 +08:00
binary_search_edge.c Bug fixes to C code. 2023-11-01 05:14:22 +08:00
binary_search_insertion.c Add interation.c recursion.c simple_hash.c binary_search_edge.c binary_search_insertion.c in C codes. (#731) 2023-09-09 19:16:15 +08:00
CMakeLists.txt Bug fixes 2023-09-26 10:57:53 +08:00
two_sum.c fix(lang: c, chapters: searching, sorting): Some serious errors (#1531) 2024-11-10 02:00:53 +08:00