The Gateway to Computer Science Excellence
0 votes
35 views

Suppose letters a,b,c,d,e,f have probabilities ½, ¼, 1/8, 1/16, 1/32, 1/32. Which of the following is the Huffman code for the letters a,b,c,d,e,f.

  1. 0, 10, 110, 1110, 11110, 11111
  2. 11, 10, 01, 001, 0001, 0000
  3. 11, 10, 011, 010, 001, 000
  4. 110, 100, 010, 000, 001, 111
in Programming by Veteran (74.6k points) | 35 views

Please log in or register to answer this question.

Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,336 answers
198,445 comments
105,202 users