Input data

Histogram

Character Occurrences

Huffman tree

Initial state (every node on its own) ◀◀ ◀ ▶ ▶▶ Final tree

Usage