Okay, three, two, one, let's jam
Search
Search
Dark mode
Light mode
Reader mode
Explorer
Home
❯
习题
❯
408_真题
❯
T4_哈夫曼编码_加权平均长度
T4_哈夫曼编码_加权平均长度
Dec 17, 2025
1 min read
T4 哈夫曼编码 加权平均长度
p
i
为字符
频次
,
l
i
为编码长度 (边的深度)
加权平均长度:
L
=
∑
i
=
1
n
p
i
∑
i
=
1
n
p
i
l
i
Graph View