hello-algo/codes
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
..
c fix(lang: c, chapters: searching, sorting): Some serious errors (#1531) 2024-11-10 02:00:53 +08:00
cpp [cpp] Stick with swap (#1474) 2024-08-06 15:08:01 +08:00
csharp fix some typos (#1540) 2024-10-31 21:26:28 +08:00
dart fix some typos (#1540) 2024-10-31 21:26:28 +08:00
go fix some typos (#1540) 2024-10-31 21:26:28 +08:00
java [Rust] Normalize mid calculation in case overflow (#1363) 2024-05-18 18:19:19 +08:00
javascript Update my_list.js (#1511) 2024-09-24 17:57:34 +08:00
kotlin Bug fixes and improvements (#1380) 2024-05-31 16:39:06 +08:00
python fix some typos (#1540) 2024-10-31 21:26:28 +08:00
pythontutor Several bug fixes and improvements (#1178) 2024-03-26 02:49:26 +08:00
ruby fix some typos (#1540) 2024-10-31 21:26:28 +08:00
rust make dfs same as c/c++ and other small improvement (#1543) 2024-10-31 21:24:56 +08:00
swift fix some typos (#1540) 2024-10-31 21:26:28 +08:00
typescript [Rust] Normalize mid calculation in case overflow (#1363) 2024-05-18 18:19:19 +08:00
zig [Rust] Normalize mid calculation in case overflow (#1363) 2024-05-18 18:19:19 +08:00
docker-compose.yml Several bug fixes and improvements (#945) 2023-11-14 21:27:35 +08:00
Dockerfile feat(csharp) .NET 8.0 code migration (#966) 2023-11-26 23:18:44 +08:00