MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / greedy_knapsack.py

File greedy_knapsack.py

knapsack/greedy_knapsack.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# To get an insight into Greedy Algorithm through the Knapsack problem
2
3
4"""

Callers

nothing calls this directly

Calls 2

calc_profitFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected