mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 10:56:29 +08:00
6a74972080
* 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. |
||
---|---|---|
.. | ||
chapter_array_and_linkedlist | ||
chapter_backtracking | ||
chapter_computational_complexity | ||
chapter_divide_and_conquer | ||
chapter_dynamic_programming | ||
chapter_graph | ||
chapter_greedy | ||
chapter_hashing | ||
chapter_heap | ||
chapter_searching | ||
chapter_sorting | ||
chapter_stack_and_queue | ||
chapter_tree | ||
utils | ||
.gitignore | ||
CMakeLists.txt |