Python 1-liner // 48 ms
\nclass Solution(object):\n    def flipAndInvertImage(self, A):\n        return [[1 - x for x in A[i][::-1]] for i in range(len(A))]\n
```\nclass Solution(object):\n    def flipAndInvertImage(self, A):\n        return [[1 - x for x in A[i][::-1]] for i in range(len(A))]\n```
[]