yjia757-2 / huffman-node Goto Github PK
View Code? Open in Web Editor NEWThis program helps encoding and decoding a text file. It has two parts. The methods in // the first part helps encoding by firstly passing an array of characters frequences, // and secodnly building a binary tree based on the characters values and frequencies, and thirdly writing the binary tree with values and frequencies into an output file.