Introduction - If you have any usage issues, please Google them yourself
According to the given probability distribution of the source, Hoffman encoding and two extended source Hoffman coding are programmed and compared with the entropy of the source to realize the coding effect of Hoffman encoding.