Aнимация на алгоритъма за кодиране на Lempel-Ziv
- Initialize the dictionary to contain all blocks of length one
- Search for the longest block W which has appeared in the
- Encode W by its index in the dictionary.
- Add W followed by the first symbol of the next block to the
- Go to Step 2.
(it takes about 2 minutes to loop through the animation)