Algoritimo de Huffman
.010 100 000 010 100 000 101 110 001 001 110 101 010 100
000 :oiránib me e 2 1 0 2 1 0 5 3 4 4 3 5 2 1 0 :missa atircse etnemaciremun aires gnirts A
101
001
110
010
100
000 oirániB 5
4
3
2
1
0
oçapsE s e m o b rahC
:retcarac rop stib-3 me adaesab oãçacifidoc amu odnazilitu somatse euq aroga eredisnoC
.1011 0110 1111 0110 0100 0110 1011 0110
1111 0110 0100 0110 0000 0100 1010 0110 1100 1110 1100 1110 1010 0110 0000 0100
1011 0110 1111 0110 0100 0110 :missa aires ,oiránib mE .901 111 89 901 111 89 23 101
511 511 101 23 901 111 89 :missa etnemaciremun atircse aires ”mobmob esse mob“ gnirts A
0000 0100
23
oçapsE
1100 1110
511
s
1010 0110
101
e
1011 0110
901
m
1111 0110
111
o
0100 0110
89
b oirániB IICSA rahC .anoicnuf oãçacifidoc a omoc artsuli riuges a alebat A .stib 821 masu gnirts assed seretcarac 61 so ,)retcarahc rop stib 8( IICSA oãçacifidoc a odnasU .”mobmob esse mob“ gnirts a eredisnoC
.stib
8 moc sodacifidoc res mesicerp seretcarac so sodot men euq arienam ed etnemetneuqerf siam merroco euq seretcarac racifidoc arap stib ed ronem oremún mu odnasu sodad so atcapmoc namffuH ed oãçacifidoc A .stib 7 moc sodacifidoc res medop setnerefid seretcarac )72(
821 .stib 7 sanepa masu elortnoc ed seretcarac e oãçautnop ,socirémunafla so omoc ,snumoc siam seretcarac sO .IICSA me