I can’t understand staircase search why u take 10 and 23 as useless why this if the array row and col wise unsorted then?
Staircase search
@Anusree_Dey In the question, it is given that the array is rowwise and column wise sorted. And this approach of staircase search is applicable only if it is row wise and column wise sorted. So in such a case elements 1 and 23 are useless as explained in the video.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.