Huffman Coding Java
So I have this question: Consider a DMS with seven possible symbols Xi, i = 1, 2, … , 7 and the corresponding probabilities p1 = 0.37, p2 = 0.33, p3 = 0.16, p4 = 0.07, p5 = 0.04, p6 = 0.02, and p7 = 0.01? We first arrange the probabilities in the decreasing order