LZ78
LZ78 is a lossless data compression algorithm introduced by Abraham Lempel and Jacob Ziv in 1978 as part of the LZ family. It is a dictionary-based method that builds a dynamically growing dictionary of substrings (phrases) found in the input stream as it is processed.
Encoding and decoding are performed in tandem. The encoder searches for the longest substring of the input
The encoded stream is a sequence of pairs, with the dictionary entries assigned codes in the order
LZ78 is one of the earliest practical Lempel-Ziv algorithms and influenced subsequent variants such as LZW
Applications and influence: LZ78 laid the groundwork for many dictionary-based compressors and helped shape the design