@@ -0,0 +1,316 @@
+// http://codingbat.com/prob/p109637%0A%0Apublic String repeatSeparator(String word, String sep, int count) %7B%0A  StringBuilder output = new StringBuilder();%0A  for (int i = 0, j = count; i %3C count; ++i, --j) %7B%0A    output.append(word);%0A    if (j - 1 %3E 0) %7B%0A      output.append(sep);%0A    %7D%0A  %7D%0A  return output.toString();%0A%7D%0A

Create repeatSeparator.java