Huffman Coding
Level 3
Coming soon
This lesson is being written. Explore the graph meanwhile.
Unlocks
- Binary TreeA binary tree gives each node at most two children; a binary search tree orders them so a lookup walks one path down, costing about log n steps when the tree stays balanced.
- Burrows–Wheeler TransformComing soon
- Hierarchical SoftmaxHierarchical softmax replaces one big softmax over every class with a short chain of binary decisions down a tree, so each prediction costs about log V steps instead of V.
- Lossless CompressionLossless compression shrinks data by giving common symbols short codes and rare ones long codes, and entropy sets the limit on how far this can go.