Skip to content

Nezz7/Huffman-Coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman-Coding

Introduction

A Huffman coding implementation in Java . You will find in this project :

  • Huffman tree implemented
  • Coding file
  • Decoding file

Techniques used

  • Greedy Algorithms
  • TreeMap
  • PriorityQueue (Min Heap)
  • Nested Class
  • Recursion (dfs)

How to test

1. Coding file

$ java huffmancoding -huff -c  $INPUT_FILE_PATH

2. Decoding file

$ java huffmancoding -huff -d  $INPUT_FILE_PATH

About

A Huffman coding implementation in Java

Topics

Resources

Stars

Watchers

Forks

Languages