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.
I figured it out, the input through STDIN IS ABACA but it goes into another function that isn't shown which actually creates the huffman tree and then passes the encoded string into the function's input, which is read in binary.
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 →
I figured it out, the input through STDIN IS ABACA but it goes into another function that isn't shown which actually creates the huffman tree and then passes the encoded string into the function's input, which is read in binary.