Created
May 9, 2019 08:26
-
-
Save devCharles/05aaee5872c562ddfb910386efb7a8ec to your computer and use it in GitHub Desktop.
Calcular la diferencia de la suma de las diagonales de una matriz cuadrada
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const matrix = [ | |
[1, 2, -1], | |
[6, 5, 4], | |
[-9, 8, 9] | |
] | |
function getDiagonalsDifference (matrix) { | |
// complete function | |
} | |
getDiagonalsDifference(matrix) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment