C++ || 0ms beat 100% || Highly Readable & Beginner Friendly
\nclass Solution {\npublic:\n    vector<vector<int>> flipAndInvertImage(vector<vector<int>>& image) {\n        \n        \n        for(int idx = 0; idx < image.
```\nclass Solution {\npublic:\n    vector<vector<int>> flipAndInvertImage(vector<vector<int>>& image) {\n        \n        \n        for(int idx = 0; idx < image.size(); idx++){\n            reverse(image[idx].begin(), image[idx].end());\n            \n            for(int jdx = 0; jdx < image[0].size(); jdx++){\n                if(image[idx][jdx] == 0)\n                    image[idx][jdx] = 1;\n                else\n                    image[idx][jdx] = 0;\n            }\n        }\n        \n        return image;\n    }\n};\n```
['C', 'C++']