Talos interview question

DSA - string compression and a string decompression follow up