You are viewing a single comment's thread. Return to all comments →
It's greedy because at every step, always choosing the local highest calorie amount will yield the globally optimal solution.
Marc's Cakewalk
You are viewing a single comment's thread. Return to all comments →
It's greedy because at every step, always choosing the local highest calorie amount will yield the globally optimal solution.