Reverse Words in a String

Reverse Words in a String Total Accepted: 2391 Total Submissions: 15858 My Submissions
Given an input string, reverse the string word by word.

For example,
Given s = "the sky is blue",
return "blue is sky the".