⌨️ap computer science principles review

LZW compression algorithm

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

LZW compression algorithm is a lossless data compression method that replaces repeated sequences of characters with shorter codes. It is commonly used in file formats like GIF and TIFF.

AP course connection

Topic 2.2: 2.2 Data Compression

Unit 2

"LZW compression algorithm" also found in:

2,589 studying →