You are viewing a single comment's thread. Return to all comments →
My solution in Py
return abs(sum([arr[i][i] - arr[i][len(arr) - i - 1] for i in range(len(arr))]))
Seems like cookies are disabled on this browser, please enable them to open this website
Diagonal Difference
You are viewing a single comment's thread. Return to all comments →
My solution in Py