News

The final matrix will be [[1,3,1],[1,3,1]] which contains 6 odd numbers. * Count the rows and columns that appear odd times; * Traverse all cells to get the answer. * Time Complexity: O(M*N + L), ...