Vidyalelo
Data Structure · Q1153

Miscellaneous on Data Structures

Programming · Data Structure · question 1153

Q1153

What will be the cost of the code if character ci is at depth di and occurs at frequency fi?

A.
cifi
B.
∫cifi
C.
∑fidi
Answer
D.
fidi

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board