← Deutsche Bank questions

Reverse sentence by word

Filed under Deutsche Bank

Given a sentence as a string, reverse the order of words in it while maintaining the characters within each word. Extra spaces should be handled gracefully.

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 Deutsche Bank questions

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