- Time : O(n + m)
- Space : O(1)
c++
1 | vector<int> searchInSortedMatrix(vector<vector<int>> matrix, int target) { |