Dictionary encoding
Lossless compression replacing frequent patterns with shorter codes using a dictionary. Huffman and LZ77 variants exemplify dictionary-based encoding. Adaptive dictionaries build during encoding.
Real World
When you create a .zip file on your laptop, the ZIP algorithm uses LZ77 dictionary encoding to spot repeated byte patterns across the file and replace them with short back-references.
Exam Focus
Distinguish dictionary encoding from RLE clearly — dictionary replaces repeated patterns; RLE replaces consecutive identical values.
How well did you know this?