Question: ( i ) List of keys ( k ) = 6 , 1 7 , 2 3 , 2 9 , 3 4 , 4

(i) List of keys (k)=6,17,23,29,34,48,99,50 are inserted into the hash table by using hash function H=k
mod table size and table size is 10. For resolving collisions linear probing used.
[5 Marks]
Number of collisions occurred when we insert new element '103' is
Show all steps.
(ii) How many bits are needed to encode a string containing 15 a's,3 b's,7 c's and 10 d 's using the Huffman
coding. Draw the tree.
[5 Marks]
( i ) List of keys ( k ) = 6 , 1 7 , 2 3 , 2 9 ,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!