Leetcode 1572. Matrix Diagonal Sum | Hello Interview