Diagonal Difference

  • + 0 comments

    int x = 0; int y = 0; int index = a.length-1; for(int i=0; i } return Math.abs(x-y);