Compress a string into LZ78 (phrase index, character) tokens and decompress tokens back into the string.
Compress a string into LZ78 (phrase index, character) tokens and decompress tokens back into the string.
The discussion opens with the full question.