@@ -0,0 +1,613 @@
+package coding4fun;%0A%0A/**%0A * Reverse a string in-place.%0A * %0A * Input: Hi there, hello world%0A * Output: dlrow olleh ,ereht iH%0A */%0Apublic class Problem7 %7B%0A    private static void reverse(char%5B%5D string) %7B%0A        for (int i = 0; i %3C string.length/2; i++) %7B%0A            char tmp = string%5Bi%5D;%0A            string%5Bi%5D = string%5Bstring.length-1-i%5D;%0A            string%5Bstring.length-1-i%5D = tmp;%0A        %7D%0A    %7D%0A    %0A    public static void main(String%5B%5D args) %7B%0A        String str = %22Hi there, hello world%22;%0A        char%5B%5D chrArray = str.toCharArray();%0A        reverse(chrArray);%0A        System.out.println(chrArray);%0A    %7D%0A%7D%0A

Add problem 7