hello-algo/codes/c
王作勋 d75a2eb691
Add Unbounded knapsack in C code (#832)
* Update vector.h

增加功能列表:
获取向量的第 i 个元素
设置向量的第 i 个元素
向量扩容
向量缩容
向量插入元素
向量删除元素
向量交换元素
向量是否为空
向量是否已满
向量是否相等
对向量内部进行排序(升序/降序)
对向量某段数据排序(升序/降序)

* Create hanota.c

* 新增binary_search_recur.c

* Update vector.h

* Delete codes/c/chapter_divide_and_conquer directory

* Update vector.h

* Create binary_search_recur.c

* Delete codes/chapter_divide_and_conquer directory

* Update vector.h

* old vector.h

* Create unbounded_knapsack.c

* Update unbounded_knapsack.c

* Update unbounded_knapsack.c

* Create CMakeLists.txt

* Update unbounded_knapsack.c

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-07 08:38:02 -05:00
..
chapter_array_and_linkedlist Fix unreleased memory error (#769) 2023-09-19 23:53:45 +08:00
chapter_backtracking fix preorder_traversal_iii_compact code 2023-09-09 00:51:00 +08:00
chapter_computational_complexity fine tune 2023-09-17 01:13:15 +08:00
chapter_divide_and_conquer Add hanota in C code (#819) 2023-10-07 08:30:12 -05:00
chapter_dynamic_programming Add Unbounded knapsack in C code (#832) 2023-10-07 08:38:02 -05:00
chapter_graph Format C, C++, C#, Go, Java, Python, Rust code. 2023-09-02 23:54:38 +08:00
chapter_greedy Bug fixes 2023-09-26 10:57:53 +08:00
chapter_hashing Bug fixes 2023-09-26 10:57:53 +08:00
chapter_heap Fix my_heap.c build error (#732) 2023-09-09 16:41:24 +08:00
chapter_searching Bug fixes 2023-09-26 10:57:53 +08:00
chapter_sorting Format C, C++, C#, Go, Java, Python, Rust code. 2023-09-02 23:54:38 +08:00
chapter_stack_and_queue Fix linkedlist queue print error (#770) 2023-09-19 23:53:01 +08:00
chapter_tree fine tune 2023-09-17 01:13:15 +08:00
utils refactor: Extend vector.h implementation (#818) 2023-10-07 00:43:30 -05:00
.gitignore Format C, C++, C#, Go, Java, Python, Rust code. 2023-09-02 23:54:38 +08:00
CMakeLists.txt 增加C的贪心算法代码 (#726) 2023-09-09 16:28:44 +08:00