#274 · How it works, by example · 6.4 minHow File Compression Works: Huffman Coding in 40 Lines
Huffman coding took a 102 character text from 816 bits to 349, before its code table, in about 40 lines of Python.
Python 3.12.152 videos tagged "algorithms explained".
#274 · How it works, by example · 6.4 minHuffman coding took a 102 character text from 816 bits to 349, before its code table, in about 40 lines of Python.
Python 3.12.15
#275 · How it works, by example · 6.5 minA 10,000 bit Bloom filter gave 0.9% false positives, then 41.6% once I overfilled it.
Python 3.12.15