Skip to content

sumith68/Ruby-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

A "toy" implementation of the Huffman compression algorithm
==============================================================
I wrote this program as an exercise for learning Ruby. I had 
previously written a similar program in Python.


The input string is for the moment fixed as "aaabccdeeeeeffg"

The program is executed using the command:
  
   ruby huffman.rb

we get the encoded bit pattern of the input string and
the original string as the output.
 

About

Some Ruby works

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages