@@ -0,0 +1,280 @@
+public String frontTimes(String str, int n)%7B%0A  int frontLen = 3;%0A  if (frontLen %3E str.length()) %7B%0A    frontLen = str.length();%0A  %7D%0A  String front = str.substring(0, frontLen);%0A  %0A  String result = %22%22;%0A  for (int i=0; i%3Cn; i++) %7B%0A    result = result + front;%0A  %7D%0A  return result;%0A%7D

solve frontTimes