Problem 3240 · Medium

Minimum Number of Flips to Make Binary Grid Palindromic II

Flip the fewest cells so every row and column is a palindrome and the total number of ones is divisible by 4.

Open the interactive visualisation