public static int doStuff(int n) { if (n<1) return n; return 2*n + doStuff(n-1); }
public static int findMax(int[] list, int front)