in Algorithms retagged by
1,059 views
0 votes
0 votes
consider the msg -

aabbbbabccdddccccbbdd

 ques 1.  the number of bits required for huffman encoding of the above msg is-

a.38     b 30.     c 42.     d.46

 

ques 2.  what is the decoded msg for 110100

1. abc     2  acb       3  bcd  4 bda
in Algorithms retagged by
1.1k views

2 Answers

3 votes
3 votes

image

B) 11 01 00

    b   d   a

edited by

4 Comments

i guess i have placed 9 left to 15 n yes thanks n sorry :)
0
0
@pranay for question B  bda is answer .you interchanged d and a.. :p
1
1
thank you :D
0
0
1 vote
1 vote
1.C i.e 42 bits

2.D i.e bda

Related questions