Static Dictionary
0 a 6 bc
1 b 7 bcc
2 c 8 ada
3 d 9 abc
4 aa 10 dda
5 ab 11 aaaa
Encoding: from the current position find the longest string in
source string that matches a string in the dictionary.
Output its index.
Decoding: for each index output the corresponding string in the
dictionary.
Previous slide
Next slide
Back to first slide
View graphic version