main

prev        

Statement of a problem № m97547

        next    

Using the weights 2, 3, 5, 10, 10, show that the height of a Huffman tree for a given set of weights is not unique. How would you modify the algorithm so as to always produce a Huffman tree of minimal height for the given weights?




New search. (Also 1294 free access solutions)

Online calculators