[prev] 74 [next]

Huffman Code (cont)

Analysis of Huffman's algorithm:
  • O(n+d·log d) time
    • n … length of the input text T
    • d … number of distinct characters in T