Reverse Words
Easy📝 Description
Reverse the order of words in a sentence
Input Format
A single sentence
Output Format
Sentence with words in reverse order
Constraints
Sentence length ≤ 1000
🔍 Sample Input
Hello World
✅ Sample Output
World Hello
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run