please help me to understand what cases I am missing so that the answer is wrong.
The approach was like I was trying to find out which indexes of row /column getting odd fillings. And calculating finally based on that no. odd-numbered cells.
(no. of odd filling row X columns)+(no. of odd filling column X rows)-(2 X no. of odd filling column X no. of odd filling row)