π© Problem Statement (Simplified) Given a string s, reverse the order of words. Words are separated by spaces. Extra spaces (leading, trailing, or multiple) should be removed in the output. π₯ Input: " hello world "π€ Output: "world hello" π§ My...

Markdown supported Β· ββ΅ to post
No responses yet.