hello-algo/codes/c
rongyi 21be3fdaf8
[Rust] Normalize mid calculation in case overflow (#1363)
* Normalize mid calculate in case overflow

* Change ALL language

* Update merge_sort.py

* Update merge_sort.zig

* Update binary_search_tree.zig

* Update binary_search_recur.py

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-05-18 18:19:19 +08:00
..
chapter_array_and_linkedlist Several improvements (#1002) 2023-12-24 10:37:25 +08:00
chapter_backtracking Some improvements (#1073) 2024-02-07 22:21:18 +08:00
chapter_computational_complexity fix: Use int instead of float for the example code of log time complexity (#1164) 2024-03-23 02:17:48 +08:00
chapter_divide_and_conquer feat: Revised the book (#978) 2023-12-02 06:21:34 +08:00
chapter_dynamic_programming fix(C): fix the array initialization in coin_change.c (#1277) 2024-04-14 17:30:21 +08:00
chapter_graph Update the book based on the revised second edition (#1014) 2023-12-28 18:06:09 +08:00
chapter_greedy Update the book based on the revised second edition (#1014) 2023-12-28 18:06:09 +08:00
chapter_hashing fix(c): Fix malloc allocation of secondary pointers can lead to dump issues (#1367) 2024-05-18 18:17:33 +08:00
chapter_heap Improve the consistency between code and comments in Kotlin (#1268) 2024-04-13 20:09:39 +08:00
chapter_searching feat: Revised the book (#978) 2023-12-02 06:21:34 +08:00
chapter_sorting [Rust] Normalize mid calculation in case overflow (#1363) 2024-05-18 18:19:19 +08:00
chapter_stack_and_queue fix memory leak in the C code (#1203) 2024-04-07 01:36:55 +08:00
chapter_tree fix some bugs in c codes (#1089) 2024-02-23 01:34:49 +08:00
utils fix(C): Update common.h (#1278) 2024-04-15 14:54:28 +08:00
.gitignore Format C, C++, C#, Go, Java, Python, Rust code. 2023-09-02 23:54:38 +08:00
CMakeLists.txt refactor: Re-implement hanota.c (#885) 2023-10-27 23:41:58 +08:00