Given a square matrix of size NxN, calculate the absolute difference between the sums of its diagonals. Input Format The first line contains a single integer, N . The next N lines denote the matrix's rows, with each line containing N space-separated integers describing the columns.
A left rotation operation on an array of size shifts each of the array's elements unit to the left. For example, if left rotations are performed on array[1,2,3,4,5] , then the array would become [3,4,5,1,2] .