From e333284ba5da144b94da9d4305c3f9a0b8d39414 Mon Sep 17 00:00:00 2001 From: Praneeth Surapaneni <115913042+praneeth776@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:02:08 -0800 Subject: [PATCH] Create README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..fc3721c5 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Huffman Coding + +## 📜 Project Description +This project implements **Huffman Coding**, a widely-used lossless data compression algorithm. It is based on creating variable-length codes for characters, with shorter codes assigned to more frequent characters. This approach minimizes the overall storage requirements. + +Huffman Coding is commonly used in file compression formats such as ZIP and image formats like JPEG. + +--- + +## 🚀 Features +- **Encoding**: Compress text files using Huffman Encoding. +- **Decoding**: Decompress encoded files to their original text. +- **Frequency Calculation**: Calculate character frequencies to generate the Huffman tree. +- **Custom Input**: Accepts user-defined text for encoding and decoding. + +--- + +## 📂 Folder Structure