LeetCode
Score After Flipping Matrix
Click
here
for an explanation.