Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/iii/paper-224/4/a/solution

The binary Kraft inequality states that codeword lengths of a prefix code, or more generally a uniquely decodable code, satisfy
Conversely, positive integer lengths obeying this inequality can be realized by a binary prefix code.

New to topics? Read the docs here!