โ† Ivanti questions
CodingEasyReported in a candidate post, Aug 2022

Reverse words in a sentence preserving special characters

Filed under Ivanti

The question

Given a sentence string, reverse each individual word while keeping the positions of all special characters and punctuation unaltered.

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

Related Ivanti questions

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