This repository contains the assignments completed as a part of the coursework for the course Data Structures and Algorithms.
These assignments test the ability to implement algorithms and further analyze them.
- The Algorithms have been implemented in Python.
- Numpy and Matplotlib were used for the visualization of the results of these algorithms.
This is the implementation of the Huffman encoding algorithm in Python using a Min-heap queue.
python hmenencoder.py <input_file>
- encodedmsg.txt: Contains the encoded message.
- code.txt: Contains the codes for all the symbols.