Matrix Diagonal Sum || LeetCode 1572 || Coding Interview Question

Описание к видео Matrix Diagonal Sum || LeetCode 1572 || Coding Interview Question

Given a square matrix mat, return the sum of the matrix diagonals.
Only include the sum of all the elements on the primary diagonal and all the elements on the secondary diagonal that are not part of the primary diagonal.

Link to problem: https://leetcode.com/problems/matrix-...
++++++++++++++++++++++++++++++++++++++++++++++++++
TechBarik:    / @techbarikcom  
CS Ninja:    / @barikzone  
Tushar Roy:    / tusharroy2525  
GeeksforGeeks:    / @geeksforgeeksvideos  
CS Dojo:    / @csdojo  
Nick White:    / @nickwhite  
Back to Back SWE:    / @backtobackswe  
mycodeschool:    / mycodeschool  
++++++++++++++++++++++++++++++++++++++++++++++++++
#LeetCode #CSNinja

Комментарии

Информация по комментариям в разработке