9.3 Ejemplo de compresión

EntradaSalidaComentario



a 0a D[1] a
b 0b D[2] b
a D[1] = a
b 1b D[3] ab
c 0c D[4] c
b D[2] = b
a 2a D[5] ba
b D[2] = b
a D[5] = ba
b 5b D[6] bab
a D[1] a
a 1a D[7] aa
a D[1] a
a D[7] aa
a 7a D[8] aaa
a D[1] = a
a D[7] = aa
a D[8] = aaa
a 8a D[9] aaaa
DirecciónwkCadena




10aa
20bb
31bab
40cc
52aba
65bbab
71aaa
87aaaa
98aaaaa