Where
do we
use it
audio, video, images, text, ...pretty much everything.
So many algorithms….
LZ78 - “abracadabra”
OutPut |
Index |
String |
<0 , c(a)> |
1 |
a |
<0 , c(b)> |
2 |
b |
<0 , c(r)> |
3 |
r |
<1 , c(c)> |
4 |
ac |
<1 , c(d)> |
5 |
ad |
<1 , c(b)> |
6 |
ab |
<3 , c(a)> |
7 |
ra |
<0 , c(a)> , <0 , c(b)>, <0 , c(r)>, <1 , c(c)>, <1 , c(d)>, <1 , c(b)>, <3 , c(a)>