Sample text

Build tree · derive codes · whole file

Left 0 · right 1 · net = payload + table

Not started

hello

l × 2e × 1h × 1o × 1

Step: frequencies → merge tree → codes → encode → whole file.