Repeat Exercise for the following table of C++ keywords and weights (frequencies):
Words |
Weight |
case
|
2
|
class
|
20
|
do
|
5
|
else
|
10
|
false
|
4
|
for
|
20
|
goto
|
1
|
if
|
20
|
int
|
22
|
main
|
22
|
static
|
2
|
struct
|
3
|
switch
|
2
|
true
|
4
|
while
|
15
|
Exercise ,
Using the first Huffman code given in this section (A =01, B =0000, C =0001, D = 001, E =1), decode the bit strings.
001101001