Aiming at the same Huffman tree having a variety of different Huffman coding , this paper proposes a Huffman code selection algorithm .Based on diversity of Huffman coding , the algorithm provides 0 or 1 as coding method for every non leaf node of the huffman tree .A binary sequence is constructed by the composition of all non leaf node coding method , finally Huffman coding is obtained according to the binary sequence .In view of the fact that the recursive substructures of Huffman coding , this paper designs a backtracking algorithm that is different from the traditional Huffman coding .Simu...