LC: 186. Reverse Words in a String II
https://leetcode.com/problems/reverse-words-in-a-string-ii/
Input: s = ["t","h","e"," ","s","k","y"," ","i","s"," ","b","l","u","e"]
Output: ["b","l","u","e"," ","i","s"," ","s","k","y"," ","t","h","e"]Input: s = ["a"]
Output: ["a"]Last updated