25.34 Huffman Encoding - Small error in the beginning


There’s an error in the beginning of the solution in the exploration of possible solutions phase. (The approach is incorrect anyways, but it would still be good to get the result of that approach correct.) The book gives: “the resulting coding is 0, 10, 100, and 111”, which you can tell is incorrect because 10 is a prefix of 100.