It is a Python program that can be used to compress and decompress any text file. The idea is implemented using Huffman coding and heap data structure. While compressing, a minimum heap structure of ...
Place your input file as inp.txt in the project directory. Min-Heap (Priority Queue) for building the Huffman tree. Binary Tree for representing the Huffman tree. Arrays for storing frequencies, codes ...