String Compression using Lempel-Ziv

Posted by roybot on Stack Overflow See other posts from Stack Overflow or by roybot
Published on 2010-05-18T12:19:46Z Indexed on 2010/06/10 17:12 UTC
Read the original article Hit count: 197

Im looking for a way of compressing a given string using the Lempel-Ziv Algorithm.

Preferably there would only be a set of two functions, encoder and decoder.

The encoder takes the string and returns an integer. The decoder takes the integer and returns the original string.

Time complexity is not important.

How would you implement this?

© Stack Overflow or respective owner

Related posts about compression

Related posts about pseudocode