Hello Dear Experts,
I am looking for a C code for LZ78 algorithm using tree for compression.
The algo should get a number = length of the string, and the string.
If the string is only alphabetic then the algorithm should compress it and output 01..
otherwise if the string is 10101010101... it should decompress it and output the alphabetic chars.
Thanks a lot in advance.