You are given an grid.
A rhombus shape within grid has its border formed by connecting four corners:
The rhombus sum is the sum of the elements residing on the border of the rhombus.
Return the
Constraints:
m grid.length
n grid[i].length
m, n
grid[i][j]
You are given an grid.
A rhombus shape within grid has its border formed by connecting four corners:
The rhombus sum is the sum of the elements residing on the border of the rhombus.
Return the
Constraints:
m grid.length
n grid[i].length
m, n
grid[i][j]