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.
Flip the fewest cells so every row and column is a palindrome and the total number of ones is divisible by 4.