Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ii/paper-1/3i/b/i/solution

The Shannon-Fano lengths are
One corresponding prefix-free assignment is
Its expected word length is

New to topics? Read the docs here!