Symbol | Fixed-length code | New probability | Huffman code words |
E | 111 | 0.400 | 1 |
/ | 110 | 0.143 | 000 |
W | 101 | 0.143 | 001 |
D | 011 | 0.143 | 010 |
B | 100 | 0.051 | 0110 |
T | 010 | 0.051 | 0111 |