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 have tried that someone's approach it worked.only difference is sysout :( .. I didnt debug becoz for this code since the prerequisite is to create a huffman tree.Even I tried that(didnt check online readymade huffman tree code,I implemented huffman tree bymyself),but I couldn't build proper huffman tree. But yeah I have learnt the concept and tried by myself.Yet I am still surprised why that one single thing made difference.I agree with you,even I debug rather than commenting here.But as I said the prerequisite code is not properly setup in my IDE so I didnt debug to the fullest. Thanks anyway.I appreciate your response.
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 have tried that someone's approach it worked.only difference is sysout :( .. I didnt debug becoz for this code since the prerequisite is to create a huffman tree.Even I tried that(didnt check online readymade huffman tree code,I implemented huffman tree bymyself),but I couldn't build proper huffman tree. But yeah I have learnt the concept and tried by myself.Yet I am still surprised why that one single thing made difference.I agree with you,even I debug rather than commenting here.But as I said the prerequisite code is not properly setup in my IDE so I didnt debug to the fullest. Thanks anyway.I appreciate your response.