Ask Question
14 January, 13:55

A long string consists of the four characters a; c; g; t; they appear with frequency 31%; 20%; 9%, and 40%, respectively. what is the huffman encoding of these four characters?

+5
Answers (1)
  1. 14 January, 15:18
    0
    Huffman coding states that the item with the most frequency gets smallest code and the item with the least frequency gets the longest code. So the order of these letters would be t, a, c, g with t having the smallest code because it has the highest and then the code lengthening as the items decrease in frequency.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “A long string consists of the four characters a; c; g; t; they appear with frequency 31%; 20%; 9%, and 40%, respectively. what is the ...” in 📘 Biology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers