This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes Java in General and the fly likes Constructing Huffman Tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Constructing Huffman Tree" Watch "Constructing Huffman Tree" New topic

Constructing Huffman Tree

expired user

Joined: Dec 13, 2001
Posts: 11
Can anyone help me with the code for construction of a Huffman tree and Decoding of the same?
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

For some reason people tend to be very guarded about implementations of Huffman coding, butI found a free one here
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hello... I did a pretty good implementation last year, you can e-mail me and I'll send it back to you.. hope it's not too late
Andres G.

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
It is sorta covered in the JavaRanch Style Guide.
subject: Constructing Huffman Tree