Given a 2d matrix where the value of cell will be either 0 or 1. We can perform as many operation as we want on the matrix. An operation is selecting two cells having 1 in both of them and the two cells should either belong to same row or column and remove 1 from any of the two selected cells. You have to tell the maximum number of 1 which can be removed and the one remaining after all operations.
Answers
Answered by
0
I don't know.... sry
Similar questions