hello-algo/codes/c/include
Gonglja 8bc41bc013
Add space_complexit under C and fix memory leak under CPP (#456)
* 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

* fix(codes/cpp): Fix memory leaks: no delete

* fix(codes/cpp): Fix memory leaks: Add destructor ~ArrayHashMap()

* Update PrintUtil.hpp

* feat(codes/c): Add three-party hash implementation

* feat(codes/c): Add freeMemoryTree in tree_node.h

* feat(codes/c): Add space_complexity.c

* styles(codes/c): Modify format

* feat(codes/cpp): Undo a previous delete, there is no memory leak here

* Update array_hash_map.cpp

* Update include.h

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-04-15 23:51:35 +08:00
..
CMakeLists.txt Add space_complexit under C and fix memory leak under CPP (#456) 2023-04-15 23:51:35 +08:00
include.h Add space_complexit under C and fix memory leak under CPP (#456) 2023-04-15 23:51:35 +08:00
include_test.c Unify the naming of the C codes. 2023-01-12 00:31:11 +08:00
list_node.h refactor: Replace 结点 with 节点 (#452) 2023-04-09 04:32:17 +08:00
print_util.h feat(bucket_sort): add bucket_sort code in go/c (#443) 2023-03-30 02:00:17 +08:00
tree_node.h Add space_complexit under C and fix memory leak under CPP (#456) 2023-04-15 23:51:35 +08:00
uthash.h Add space_complexit under C and fix memory leak under CPP (#456) 2023-04-15 23:51:35 +08:00