Reverse words in a sentence with multiple spaces
Filed under Zomato
The question
Reverse the words in a given sentence where words are separated by one or more spaces.
No write-up yet. Related questions below have one.
Related Zomato questions
Collected from public candidate posts and coding forums. Updated Nov 2026.