Python. One-liner, cool & clear solution. Runtime: faster than 98.82%. Memory:  less than 100.00%
\tclass Solution:\n\t\tdef flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]:\n\t\t\treturn [[num ^ 1 for num in line[::-1]] for line in A]\n\n   
\tclass Solution:\n\t\tdef flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]:\n\t\t\treturn [[num ^ 1 for num in line[::-1]] for line in A]\n\n        \n\n\nliked? please upvote....
['Python3']