Till KTH:s startsida Till KTH:s startsida

Huffman coding

How do you encode a text so that it only takes up less than haf of its original space? In this assignment you will learn the basics of compression techniques and in particular how Huffman coding works. It is also an exercise to learn how to work with different data structures.

Kallocain is a novel by the Swedish author Karin Boyes. It's a dystopia in the class as "1984" and "A brave new world", a book that might be more relevant now then ever. In this assignment you can use the text to test your  Huffman encoder.

Lärare Johan Montelius skapade sidan 9 december 2014

Lärare Johan Montelius ändrade rättigheterna 21 januari 2015

Kan därmed läsas av alla och ändras av lärare.