School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 306,986 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,962 people online right now. Registration is fast and FREE... Join Now!




Heapq Module in Python

 

Heapq Module in Python, Huffman code by using Heapq

sleepnight

5 Nov, 2009 - 05:24 PM
Post #1

New D.I.C Head
*

Joined: 5 Nov, 2009
Posts: 6

Hi,
i do the Huffman code by using the Heapq Model.
The huffman tree will show from botom to top.
anyway, i will try to create the huffman tree by top to bottom.
is it same way coding in bottom to top? i will try to modify from it but cannot work.
please you advise the coding hint or tip to show by top to bottom.
Thank you.

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 05:36AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month