WNS-Vuram interview question

To reverse special characters in string