# Text Compression

In this lesson, you will understand the details of Huffman Encoding with the help of an exercise on text compression.

The Huffman Encoding algorithm can be used to find provably optimal length prefix free codes to compress data that involves redundancies. For simplicity, the algorithm can be divided into five parts:

Get hands-on with 1200+ tech skills courses.