โ† Octro questions

Reverse string containing special characters

Filed under Octro

The question

Given a string containing alphabets and special characters, reverse the string such that the special characters remain in their original positions.

No write-up yet. Related questions below have one.

Related Octro questions

Collected from public candidate posts and coding forums. Updated Nov 2026.