I am trying to implement huffman coding scheme in java.But I am facing problems in building the huffman tree.How to proceed ?Is there any datastructure in java that will help me to do it?Please help!!
ayanbizz 0 Newbie Poster
Recommended Answers
Jump to PostCan you post your code and point to where the problem is?
Or is it that you don't understand Huffman coding?
Jump to PostThere are standard tree structures in the Collections API.
If those aren't sufficient, you can always build your own.
Jump to Post@thekashyap till now I have been able to read the frequency of characters in a text file and stored them in a hash-map.But now , I have to arrange them according to their frequency and build a binary tree from it.Here's where I am stuck.Please give me some ideas..Also ,what …
Jump to Postwhy re-opening a dormant thread? if you have any questions about this, you could easily have started a new thread.
also, it's against forum rules to just hand out custom code. have you or are you currently working on a similar project? if so, and you're having trouble with …
All 14 Replies
thekashyap 193 Practically a Posting Shark
ayanbizz 0 Newbie Poster
jwenting 1,905 duckman Team Colleague
thekashyap 193 Practically a Posting Shark
ayanbizz 0 Newbie Poster
thekashyap 193 Practically a Posting Shark
ayanbizz 0 Newbie Poster
thekashyap 193 Practically a Posting Shark
ayanbizz 0 Newbie Poster
ayanbizz 0 Newbie Poster
thekashyap 193 Practically a Posting Shark
c.uetn 0 Newbie Poster
stultuske 1,116 Posting Maven Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.