Implement string compression and decompression | NVIDIA Interview Question