← Swiggy questions
CodingReported in a candidate post, Jan 2021

Reverse the letters of each word while keeping word positions

Filed under Swiggy

Given a sentence, reverse the characters inside each word while keeping every word in its original position. Words are separated by spaces, and the spacing should be preserved.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Swiggy questions

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