You are given a string s, reverse the order of words.
A "word" is defined as a sequence of non-space characters. Words in s will be separated by at least one space.
Return a string of the words in reverse order concatenated by a single space.
Note:
"the sky is blue"
"blue is sky the"
The words "the", "sky", "is", "blue" are reversed to their new order.
" hello world "
"world hello"
Leading and trailing spaces are removed, and the words are reversed.
"a good example"
"example good a"
Multiple spaces between words are reduced to a single space, and the words are reversed.
"the sky is blue"
"blue is sky the"