StarLeaf interview question

Coding test - Write a LZW decompressor