A
A
AndreySlimus2015-01-03 13:19:12
Algorithms
AndreySlimus, 2015-01-03 13:19:12

Encoding a message with the Huffman algorithm?

Need help encoding a message with the Huffman algorithm .
It is necessary to encode the message " information ", as well as represent it in binary form.
056ea418d167424d9d7a5872f5fbf6a3.jpg
Perhaps it, in the sense, the binary representation of characters, looks like this:
9dc974c72f4f4fc38fb8c96ab1a36324.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-01-03
Protko @Fesor

Well... take and count the frequency of occurrence of each character, build a tree, encode. Or type for you to write everything?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question