Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Huffman Coding

Algorithm

A greedy algorithm for building an optimal prefix-free binary code for a set of symbols given their frequencies, assigning shorter codes to more frequent symbols; a foundational technique behind many lossless data-compression formats.

Facts
Origin Year
1952 1
Core Principle
A lossless data compression method that assigns shorter variable-length codes to more frequent symbols and longer codes to rarer ones, derived from each symbol's estimated probability, producing an optimal prefix code among methods that encode symbols separately. 1
Connections

Associated With

DEFLATE Algorithm, Algorithms

Verified en.wikipedia.org/wiki/DEFLATE: "Deflate ... is a lossless data compression algorithm that uses a combination of LZ77 and Huffman coding."

In Field

Sources
1. Wikipedia: Huffman coding
Wikimedia Foundation
  • Lead section, first paragraph
    an algorithm developed by David A. Huffman while he was a Sc.D. student at MIT, and published in the 1952 paper "A Method for the Construction of Minimum-Redundancy Codes".
  • Lead section, second paragraph
    more common symbols are generally represented using fewer bits than less common symbols.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.