Greedy algorithms are not suitable for solving the Knapsack Problem because they may not always provide the _______ solution.

  • Exact
  • Feasible
  • Optimal
  • Unique
Greedy algorithms may not always provide the optimal solution for the Knapsack Problem. While they make locally optimal choices at each step, the overall result may not be the most optimal solution.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *