Mã hóa Huffman (giải thuật tham lam), sử dụng cây nhị phân để tạo bảng mã Huffman, giải quyết vấn đề nén chuỗi. Chống chỉ định cho người yếu tim, người sợ độ cao :))
In computer science and information theory, a Huffman code is a particular type of optimal prefix code that is commonly used for lossless data compression. The process of finding or using such a code proceeds by means of Huffman coding.
This project is about Encode and Decode an input string by using Greedy Algorithm.
The images below show us how the algorithm works
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.