Write a function to reverse the order of words in a string in place.
Ans: Reverse the string by swapping the first character with the last character, the second character with the second to‐last character, and so on. Then, go through the string looking for spaces, so that you find where each of the words is. Reverse each of the words you encounter by again swapping the first character with the last
character, the second character with the se cond‐to‐last character, and so on.