Greedy Algorithms and Heuristics
In which scenario would using a greedy algorithm as a heuristic be LEAST appropriate?
A
Compressing data using Huffman coding
B
Finding the optimal solution to the knapsack problem
C
Scheduling tasks with different priorities
D
Determining an efficient route for a delivery truck
Question Leaderboard
Not enough data yet to show leaderboard.
APFIVE