Kotlin style simple one-line
\nfun flipAndInvertImage(image: Array<IntArray>) = \n\timage.map{ it.map{ i -> if( i == 1) 0 else 1 }.reversed()}\n
```\nfun flipAndInvertImage(image: Array<IntArray>) = \n\timage.map{ it.map{ i -> if( i == 1) 0 else 1 }.reversed()}\n```
['Kotlin']