Java Solution 0ms
\npublic int[][] flipAndInvertImage(int[][] A) {\n        int[][] result = new int[A.length][A[0].length];\n        \n        for(int i = 0; i < A.length; i++){
```\npublic int[][] flipAndInvertImage(int[][] A) {\n        int[][] result = new int[A.length][A[0].length];\n        \n        for(int i = 0; i < A.length; i++){\n            for(int j = A[i].length-1; j >= 0; j--){\n                result[i][(A[i].length-1) - j] = A[i][j] ^ 1;\n            }\n        }\n        return result;\n    }\n```
['Java']