public class Solution {
public String reverseWords(String s) {
s = s.trim();
List<String> spl = split(s);
StringBuilder sb = new StringBuilder();
for(int i = spl.size() - 1; i >= 0; i--) {
sb.append(spl.get(i));