Google Interview Question Software Engineer / Developers
- 0of 0 votes
Given an N x M matrix having only positive values, we have to nullify the matrix i.e make all entries 0.
We are given two operations
1) multiply each element of any one column at a time by 2.
2) Subtract 1 from all elements of any one row at a time
Find the minimum number of operations required to nullify the matrix.
Note: no range of input was given
Country: United States
Interview Type: In-Person