1function sortedMatrixSearch(matrix, target):
2 row = 0, col = cols - 1
3 while row < rows and col >= 0:
4 if matrix[row][col] == target: return (row, col)
5 if matrix[row][col] > target: col--
6 else: row++
7 return not found
No pseudocode line selected.