1. Given the following set of characters and their frequencies:
- Determine the Huffmann code.
- Calculate the average code length
- Compare its length to binary coding:
- Determine the gain in bandwidth of Huffman coding compared to binary coding
- Using the generated Huffman codes, encode the string