@@ -0,0 +1,666 @@
+public class Solution %7B%0A    public String reverseWords(String s)%7B%0A        StringBuffer sb = new StringBuffer();%0A        String%5B%5D words = s.split(%22%5C%5Cs%22);%0A        for (int i = 0; i %3C words.length; i++) %7B%0A            for (int j = words%5Bi%5D.length()-1; j %3E= 0; j--) %7B%0A                sb.append(words%5Bi%5D.charAt(j));%0A            %7D%0A            sb.append(%22 %22);%0A        %7D%0A        return sb.toString().substring(0, sb.length()-1);%0A    %7D%0A%0A    public static void main(String%5B%5D args)%7B%0A        Solution solution = new Solution();%0A        String input = %22Let's take LeetCode contest%22;%0A        String result = solution.reverseWords(input);%0A        System.out.println(result);%0A    %7D%0A%7D

complete problem 557