We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Tree: Huffman Decoding
Tree: Huffman Decoding
Sort by
recency
|
546 Discussions
|
Please Login in order to post a comment
Python Recursive approach
There is an error in the python's test script. The input should be encoded values, however it inputs the string.
This test code is broken for Javascript, The code was expecting that i should do encode and decode both. However question was for decoding the string and it should provide root node and encoded string. Just printing the input string passed it.
Java 8:
Not sure what am I missing, it prints all the correct valued in the output, but shows "Wrong answer".