Short & Concise | C++
\nclass Solution {\npublic:\n    vector<vector<int>> largestLocal(vector<vector<int>>& grid) {\n        int n = grid.size();\n        vector<vector<int>> ans(n 
```\nclass Solution {\npublic:\n    vector<vector<int>> largestLocal(vector<vector<int>>& grid) {\n        int n = grid.size();\n        vector<vector<int>> ans(n - 2, vector<int>(n - 2, 0));\n        \n        for(int i=0; i<n-2; i++) {\n            for(int j=0; j<n-2; j++) {\n                \n                for(int r=i; r<i + 3; r++) {\n                    for(int c=j; c<j + 3; c++) ans[i][j] = max(ans[i][j], grid[r][c]);\n                }\n                \n            }\n        }\n        return ans;\n    }\n};\n```
['C']