tcs icon indicating copy to clipboard operation
tcs copied to clipboard

Exercise 2.10

Open gzs715 opened this issue 4 months ago • 0 comments

In Exercise 2.10 --- More efficient prefix-free transformation. Shall we suppose that F is a some (not necessarily prefix-free) one-to-one representation? Otherwise, if F is not one-to-one, we cannot prove that F' is a prefix-free representation of O. For example, if O = {a,b} and F(a) = F(b), then G(|F(a)|) = G(|F(b)|) = G(1) => F'(a) = G(1)F(a) = G(1)F(b)=F'(b) => F' is not prefix-free

gzs715 avatar Oct 25 '24 03:10 gzs715