Inno Valley Works interview question

Reversal Special Characters in a string