The first step in the Shannon's Code is to order the probabilities in decreasing order. Why do we do this? Is it to make it prefix-free or assign most probable words with shorter codewords?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.