For an equiprobable source, an optimal binary prefix tree has leaf depths differing by at most one. If one leaf has depth and a deepest sibling pair has depth , split the shallow leaf into two children and collapse the deep pair into its parent. The number of leaves is unchanged and their total depth decreases by , contradicting optimality.
// Target: probability-and-statistics.bigb
Articles by others on the same topic
There are currently no matching articles.