Question: 2 a . You are given the following table containing symbols and their frequencies: CO 2 i ) Build the Huffman code tree and find
a You are given the following table containing symbols and their frequencies:
CO
i Build the Huffman code tree and find the codewords for each character.
ii Decode using the Huffman code that you generated.
b You are given the arrival and departure times of eight trains for a railway platform, each in
CO the following format: arrival time, departure time Only one train can use the platform
at a time.
Suppose, you have got the following trainuse requests for the next day.
i Find the maximum number of trains that can use the platform without any collision.
ii Determine the minimum number of platforms that needs to be there to ensure the
arrival and departure of all these trains without collision.
handwritten answer only please
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
