@@ -0,0 +1,751 @@
+package codingbat.warmup2;%0A%0A/*%0A * Given a non-empty string like %22Code%22 return a string like %22CCoCodCode%22. %0A * %0A * stringSplosion(%22Code%22) = %22CCoCodCode%22%0A * stringSplosion(%22abc%22) = %22aababc%22%0A * stringSplosion(%22ab%22) = %22aab%22%0A */%0A%0Apublic class StringSplosionTest %7B%0A%0A  public static void main(String%5B%5D args) %7B%0A%0A    StringSplosionTest test = new StringSplosionTest();%0A%0A    System.out.println(%22%3E%22 + test.stringSplosion(%22Code%22) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.stringSplosion(%22abc%22) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.stringSplosion(%22ab%22) + %22%3C%22);%0A  %7D%0A%0A  public String stringSplosion(String str) %7B%0A    String result = %22%22;%0A    %0A    for(int i=0; i%3Cstr.length(); i++)%7B%0A      result += str.substring(0, i);%0A    %7D%0A    %0A    return result + str;%0A  %7D%0A%0A%7D%0A

add task stringSplosion