Complete the static mkString method in the MyMethods class so that it formats an array of int values, with the elements separated by a given separator string.

For example, the call mkString(new int[] { 1, 2, 3, 4 }, "|") should return the string "1|2|3|4".

Complete the following file:

MyMethods.java

import java.util.ArrayList; public class MyMethods { public static String mkString(int[] values, String separator) { if (values.length == 0) return "..."; String helperResult = helper(values, ..., separator); ... } public static String helper(int[] values, int n, String separator) { if (n == ...) return ...; String partialResult = helper(values, ..., separator); ... } }