Imagine drawing squares on top of a grid paper. These squares are the "ops" parameter.

Since the squares always start on the top right-hand corner, we gain valuable information from this.

- There is a guarantee to be an overlap.
- What ever that overlap is, the final answer is just the area of the overlap section.

```
class Solution {
public int maxCount(int m, int n, int[][] ops) {
int height = m, width = n;
for(int i = 0; i < ops.length; i++) {
if(ops[i][0] < height) height = ops[i][0];
if(ops[i][1] < width) width = ops[i][1];
}
return height * width;
}
}
```