C++ | Easy to understand | In Place
\nclass Solution {\npublic:\n    void change(vector<int>& arr){\n        for(int i = 0; i < arr.size(); i++){\n            if(arr[i] == 0){\n                arr
```\nclass Solution {\npublic:\n    void change(vector<int>& arr){\n        for(int i = 0; i < arr.size(); i++){\n            if(arr[i] == 0){\n                arr[i] = 1;\n            } else {\n                arr[i] = 0;\n            }\n        }\n    }\n    \n    vector<vector<int>> flipAndInvertImage(vector<vector<int>>& image) {\n        for(int i = 0; i < image.size(); i++){\n            reverse(image[i].begin(), image[i].end());\n            change(image[i]);\n        }\n        return image;\n    }\n};\n```
['C']