Staircase search

I can’t understand staircase search why u take 1 and 23 as useless why this two things useless if there given row and col wise unsorted array then