exercism-c/knapsack/knapsack.h
Blizzard Finnegan 6efd0ba5d8
Start thinking about knapsack
Very difficult problem to solve, but many pre-existing solutions
2025-01-11 20:00:23 -05:00

11 lines
204 B
C

#ifndef KNAPSACK_H
#define KNAPSACK_H
typedef struct {
unsigned int weight;
unsigned int value;
} item_t;
int maximum_value(unsigned int maximum_weight, item_t *items, size_t item_count);
#endif