Fix some errors of cmake build and add hashing_search.c (#458)

* 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)

* Update PrintUtil.hpp

* fix(codes/c): Fix some errors of cmake build

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

---------

Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
gonglja
2023-04-17 13:37:38 +08:00
committed by GitHub
parent 878f12f701
commit 28fdd26f2f
4 changed files with 152 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
add_executable(avl_tree avl_tree.c)
add_executable(binary_search binary_tree.c)
add_executable(binary_tree binary_tree.c)
add_executable(binary_tree_bfs binary_tree_bfs.c)
add_executable(binary_tree_dfs binary_tree_dfs.c)
add_executable(binary_search_tree binary_search_tree.c)