// Reverse Words in a String — EASY
// Category: string
Given an input string `s`, reverse the order of the **words**.
A **word** is defined as a sequence of non-space characters. Return the words joined by a single space with no leading or trailing spaces.
**Constraints:**
- `1 <= s.length <= 10⁴`
Example: s = "the sky is blue"
Output: "blue is sky the"