github.com/icza/huffman (go): Package huffman implements a Huffman entropy coding.  https://en.wikipedia.org/wiki/Huffman_coding  Use the Build() function to build a Huffman tree. Use the Print() function to print Huffman codes of all leaves of a tree (for verification).  Example:  Output:
Keywords: huffman-coding|huffman-reader|huffman-tree|huffman-writer|symbol-table