0186. Reverse Words in a String II
Description
**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"]ac
Last updated