Math — Huffman Coding
Optimal prefix-free compression.
What this template contains
- Equations
- 4
- Source
- 4 lines
Make it your own.
\text{frequent symbols} \to \text{short codes}
\text{prefix-free (uniquely decodable)}
\bar{L} \geq H\ \text{(Shannon limit)}
\text{built by a greedy merge}