Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 4 - Huffman Trees (Part 1)
Date: Sat Oct 6 2001 1:21 pm
Author: Agarwal, Aditya <adityaa@andrew.cmu.edu>
Subject: Re: Best way to store the code table

Thats not entirely accurate. The maximun length of a prefix code in huffman is
= ceiling(log_2(number of characters))
= ceiling(log_2(256))
= 8

So, no prefix codes will be longer than 8 bits.

Post response

Go to the previous messageGo to the following message
Current Thread Detail:
Best way to store the code table      Bortz, Andrew S.      Thu Oct 4 2001 10:20 pm       
Re: Best way to store the code table      Cipriani, Jason A.      Fri Oct 5 2001 10:54 am       
Re: Best way to store the code t...      Agarwal, Aditya      Sat Oct 6 2001 1:21 pm       
Re: Best way to store the cod...      Cipriani, Jason A.      Sat Oct 6 2001 2:39 pm       
Re: Best way to store the cod...      Bortz, Andrew S.      Sat Oct 6 2001 3:52 pm       

Back to previous screen