InterviewDB Question

LZ78 Compression Algorithm Implementation

Question Details

Problem Implement the LZ78 lossless compression algorithm. You are given an input string and must produce a list of (index, character) pairs representing the compressed output. LZ78 builds a dictionary incrementally: start with an empty dictionary. A…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone