mirror of
https://github.com/krahets/hello-algo.git
synced 2025-01-23 22:40:25 +08:00
28fdd26f2f
* 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>
15 lines
415 B
CMake
15 lines
415 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
project(hello_algo C)
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
|
|
include_directories(./include)
|
|
|
|
add_subdirectory(include)
|
|
add_subdirectory(chapter_computational_complexity)
|
|
add_subdirectory(chapter_array_and_linkedlist)
|
|
add_subdirectory(chapter_sorting)
|
|
add_subdirectory(chapter_tree)
|
|
add_subdirectory(chapter_stack_and_queue)
|
|
add_subdirectory(chapter_heap)
|
|
add_subdirectory(chapter_searching) |