hello-algo/codes
xianii d225b416cf
feat: add C code in chapter_greedy (#755)
* add fractional_knapsack.c

* update CMakeLists

* add c code in chapter_greedy

* fix header format

* format code by clang-format

* remove extra comments

* replace ternary operator to MACRO

* parameters form adjustment

* Update fractional_knapsack.c

* Update max_capacity.c

* Update max_product_cutting.c

* add comments for consistency with cpp ver

* move MIN&MAX macro to source file

* typo fix

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-09-21 07:52:11 -05:00
..
c feat: add C code in chapter_greedy (#755) 2023-09-21 07:52:11 -05:00
cpp Refactor the hash_map_open_addressing implementation with lazy reallocation. (#776) 2023-09-21 04:43:15 -05:00
csharp fix build_tree, binary_search_tree.cs 2023-09-15 02:08:09 +08:00
dart fine tune 2023-09-17 01:13:15 +08:00
go fix build_tree, binary_search_tree.cs 2023-09-15 02:08:09 +08:00
java fix: Update hash_map_open_addressing.java (#727) 2023-09-21 04:39:21 -05:00
javascript Several bug fixes. 2023-09-20 01:53:44 +08:00
python Refactor the hash_map_open_addressing implementation with lazy reallocation. (#776) 2023-09-21 04:43:15 -05:00
rust fix build_tree, binary_search_tree.cs 2023-09-15 02:08:09 +08:00
swift fix build_tree, binary_search_tree.cs 2023-09-15 02:08:09 +08:00
typescript Several bug fixes. 2023-09-20 01:53:44 +08:00
zig fix climbing_stairs_constraint_dp code 2023-08-31 02:31:58 +08:00