Huffman coding two characters as one

Posted by Adomas on Stack Overflow See other posts from Stack Overflow or by Adomas
Published on 2010-05-22T14:36:47Z Indexed on 2010/05/22 14:40 UTC
Read the original article Hit count: 271

Filed under:
|
|
|

Hi, I need huffman code(best in python or in java), which could encode text not by one character (a = 10, b = 11), but by two (ab = 11, ag = 10). Is it possible and if yes, where could i find it, maybe it's somewhere in the internet and i just can'd find it?

© Stack Overflow or respective owner

Related posts about java

Related posts about python