목록diagonal (1)
규도자 개발 블로그
[해커랭크(Hackerrank)/Problem Solving/파이썬3(python3)] Diagonal Difference
Given a square matrix, calculate the absolute difference between the sums of its diagonals.For example, the square matrix is shown below:1 2 3 4 5 6 9 8 9 The left-to-right diagonal = . The right to left diagonal = . Their absolute difference is .Function descriptionComplete the function in the editor below. It must return an integer representing the absolute diagonal difference.diagonalDifferen..
알고리즘/풀이
2019. 3. 9. 15:12