<p>Given an input string <code>s</code>, reverse the order of the <strong>words</strong>.</p>
<p>A <strong>word</strong> is defined as a sequence of non-space characters. The <strong>words</strong> in <code>s</code> will be separated by at least one space.</p>
<p>Return <em>a string of the words in reverse order concatenated by a single space.</em></p>
<p><b>Note</b> that <code>s</code> may contain leading or trailing spaces or multiple spaces between two words. The returned string should only have a single space separating the words. Do not include any extra spaces.</p>
<li><code>s</code> contains English letters (upper-case and lower-case), digits, and spaces <code>''</code>.</li>
<li>There is <strong>at least one</strong> word in <code>s</code>.</li>
</ul>
<p> </p>
<p><bdata-stringify-type="bold">Follow-up: </b>If the string data type is mutable in your language, can you solve it <bdata-stringify-type="bold">in-place</b> with <codedata-stringify-type="code">O(1)</code> extra space?</p>