The document describes the LZ77 data compression algorithm. LZ77 uses a sliding window approach where the text is examined using a search buffer and look ahead buffer. It searches for the longest matching string in the search buffer and encodes the data as an offset and length of the match along with the next symbol. An example is provided to illustrate how LZ77 encodes a sample text by finding matching strings and generating the offset, length, symbol triples.