How do you define optimal solution? Does greedy algorithm always guarantee optimal solution? Given the string "SUPER DUPER CSIT", use a Greedy algorithm to build a Huffman tree. [1+2+7]
How do you define optimal solution? Does greedy algorithm always guarantee optimal solution? Given the string "SUPER…
Answer
The verified answer for this question is being prepared. Meanwhile, the chapter notes cover this topic, and you can contribute your own solution.