Diagonal Sum of Spiral Matrix

Company: Walmart_1sept

Difficulty: medium