Create a class ArrayTools and write these functions (static methods) in it:
class ArrayTools {
private static Random r = /* initialize a random number generator */;
public static void populateRandom(int[] arr, int min, int max) {
// Implementation here
}
public static boolean isSorted(int[] arr) {
// Implementation here
}
public static int[][] slice(int[] arr, int numSlices) {
// Implementation here
}
public static int[] concatenate(int[] arr1, int[] arr2) {
// Implementation here
}
public static int linearSearch(int[] arr, int key) {
// Implementation here
}
public static int binarySearch(int[] arr, int low, int high, int key) {
// Implementation here
}
public static String stringify(int[] arr) {
// Implementation here
}
public static void insertionSort(int[] arr, int low, int high) {
// Implementation here
}
}