Reverse every word in a string
leetcode.com Given a string s, reverse the order of the words. A word is defined as a sequence of non-space characters. The returned string should: Remove leading spaces. Remove trailing spaces. Reduce multiple spaces between words to a single space. In an interview, you can explain it like this: Sp








