Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2026/ii/paper-1/3h/a/solution

Apply Huffman coding. Combining weights
gives, for example,
Any consistent interchange of siblings is equivalent.

New to topics? Read the docs here!