I did this question using linear search

Can you show how will we do the same using binary search?

@akash_281 refer this
(https://www.geeksforgeeks.org/search-in-row-wise-and-column-wise-sorted-matrix/)