NVIDIA interview question

Q : String Encoding and Decoding.