結果 : huffman coding greedy algorithm time complexity