Huffman Encoding : Java Glossary

Huffman encoding is a simple compression technique. You first calculate the frequency
of each of the different letters of the alphabet (including symbols and digits). Then
you assign short bit codes to the most frequently used letters and longer codes to
less frequently used letters.