Problem 3823 · Easy

Reverse Letters Then Special Characters in a String

Reverse the letters among the letter positions, then reverse the special characters among their own positions.

Open the interactive visualisation