I have a question on a test review thats asks "Which of the following is solved heuristically by a greedy method?"
A. 导 言 未加权间隔时间
B. 0/1 knapsack
C. Fractional knapsack
D. Huffman代码
I m能够将其缩小到A、C或D,因为我知道0/1千纳普克使用动态节目。 我最好的猜测是C,因为I THINK A和D能够最佳地利用贪 gr算法解决。
Is this correct?