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.
Does this exercise actually makes sense? The Java 15 IDE was giving me the plain string (ABACA) in main args, whilst the question says that you'll get the s="0110101" like strings. I ended up with the solution for hoffman encoding instead of the decoding
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Tree: Huffman Decoding
You are viewing a single comment's thread. Return to all comments →
Does this exercise actually makes sense? The Java 15 IDE was giving me the plain string (ABACA) in main args, whilst the question says that you'll get the
s="0110101"
like strings. I ended up with the solution for hoffman encoding instead of the decoding