mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 11:06:29 +08:00
d225b416cf
* 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> |
||
---|---|---|
.. | ||
c | ||
cpp | ||
csharp | ||
dart | ||
go | ||
java | ||
javascript | ||
python | ||
rust | ||
swift | ||
typescript | ||
zig |