Next: Build the Huffman tree
Up: Assignment 11: Huffman Codes
Previous: Assignment 11: Huffman Codes
- 1.
- Go to http://rocky.colby.edu/cs231/code/hw11/Huffman.java/
and pick up a copy of the stripped version of the Huffman
and FreqTab classes.
- 2.
- Look over the code: I have provided the outline of the
class definitions, including interfaces for the methods. There
are comments indicating which methods you should fill in.
- 3.
- Test your program on a couple of sample strings.
Allen Downey
1999-11-20