Easy
\nclass Solution:\n    def largestLocal(self, grid: List[List[int]]) -> List[List[int]]:\n        l=len(grid)-2\n        ans=[]\n        for i in range(l):\n   
```\nclass Solution:\n    def largestLocal(self, grid: List[List[int]]) -> List[List[int]]:\n        l=len(grid)-2\n        ans=[]\n        for i in range(l):\n            ans.append([0]*l)\n        for i in range(l):\n            for j in range(l):\n                ans[i][j] = max(grid[i][j],grid[i][j+1],grid[i][j+2],\n                      grid[i+1][j],grid[i+1][j+1],grid[i+1][j+2],\n                      grid[i+2][j],grid[i+2][j+1],grid[i+2][j+2])\n        return ans\n```
['Python']