public static int diagonalDifference(List<List<Integer>> arr) {
// Write your code here
}
what does this function parameter actually mean 2D list or what
i'm just trying to make a something that calculate the sum of a diagonal of numbers
public static int diagonalDifference(List<List<Integer>> arr) {
// Write your code here
}
what does this function parameter actually mean 2D list or what
i'm just trying to make a something that calculate the sum of a diagonal of numbers