HCLTech interview question

Decoding - Encoding puzzle Flipping of Numbers Decrypting - Encrypting