hello-algo/codes/cpp
Gonglja 0659c54e77
Fix memory leaks (#433)
* 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)

* fix(codes/cpp): Fix memory leaks: replace pointers with local variables, no need to manage memory
2023-03-20 21:17:19 +08:00
..
chapter_array_and_linkedlist Add cpp codes cmake build method (#419) 2023-03-14 20:40:33 +08:00
chapter_computational_complexity Add cpp codes cmake build method (#419) 2023-03-14 20:40:33 +08:00
chapter_graph Add cpp codes cmake build method (#419) 2023-03-14 20:40:33 +08:00
chapter_hashing Update a comment in array_hash_map 2023-03-15 03:48:31 +08:00
chapter_heap Add cpp codes cmake build method (#419) 2023-03-14 20:40:33 +08:00
chapter_searching Add cpp codes cmake build method (#419) 2023-03-14 20:40:33 +08:00
chapter_sorting Add cpp codes cmake build method (#419) 2023-03-14 20:40:33 +08:00
chapter_stack_and_queue fix(codes/cpp): Memory leak fix: the space was not freed when pop removed the element. (#423) 2023-03-19 23:46:48 +08:00
chapter_tree Fix avl_tree.cpp 2023-03-16 22:50:17 +08:00
include Fix memory leaks (#433) 2023-03-20 21:17:19 +08:00
.gitignore Update CMakeLists.txt for C++ 2023-03-15 01:43:28 +08:00
CMakeLists.txt Update CMakeLists.txt for C++ 2023-03-15 01:43:28 +08:00