문제 설명 Diagonal Difference | HackerRank Calculate the absolute difference of sums across the two diagonals of a square matrix. www.hackerrank.com 풀이 : Success 소스 코드 public static int diagonalDifference(List arr) { // Write your code here int leftDiagonal = 0; int rightDiagonal = 0; int loop = arr.size(); for (int i = 0; i < loop; i++) { leftDiagonal += arr.get(i).get(i); rightDiagonal += arr.get(..