[Solved] Maximum Sum of an Hourglass LeetCode Contest Problem
![[Solved] Maximum Sum of an Hourglass LeetCode Contest Problem [Solved] Maximum Sum of an Hourglass LeetCode Contest Problem](https://realcoder.techss24.com/wp-content/uploads/2022/10/Solved-Maximum-Sum-of-an-Hourglass-LeetCode-Contest-Problem-768x510.png)
You are given an m x n integer matrix grid. We define an hourglass as a part of the matrix with the following form: Return the maximum sum of the elements of an hourglass. Note that an hourglass cannot be rotated and must be entirely contained within the matrix.…