Question: Given X = 7 , what is the minimum value of of Y required to ensure that the resulting tree conforms to Huffman's algorithm and
Given X what is the minimum value of
of Y required to ensure that the resulting tree conforms to Huffman's algorithm and forms a valid Huffman tree?
NOTE: In the right Node in the tree, i should give him a value, the value is equal to XY And i have the value of X Only the valuue of Y not.
Then should know the min value of Y that's give me a huffman tree.
That say we should Given the rigth node a Y value and check if it give a huffamn tree!
Also you should not add any nodes more, only what you have already.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
