CS211 DATA STRUCTURES II
2ND COMPUTER SCIENCE & HIGHER DIPLOMA IN INFORMATION TECHNOLOGY
LABORATORY 5
Week Beginning 05/03/01
Mr. T Lysaght
HUFFMAN CODING
(You can download template files from the course homepage at:
http://www.cs.may.ie/~tlysaght/CS211/CS211Lectures.html.
SYMBOL |
PROBABILITY |
E |
0.1250 |
T |
0.0925 |
A |
0.0805 |
O |
0.0760 |
I |
0.0729 |
N |
0.0710 |
http://www.cs.may.ie/~tlysaght/CS211/CS211Lectures.html.
Add the appropriate code to these template class files.