CSC325 · 2082 · 10 marks
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.
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.[10]
Design and Analysis of AlgorithmsChapter 4: Greedy AlgorithmsHuffman CodingNumerical: Huffman coding