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.