Stair case Search

In this algo is it necessary to have the elements sorted row wise and column wise?

Mention problem link pls

Hey Abhinav, Yes it is necessary that all the elements are sorted row wise and column wise for using Staircase search.

1 Like

Actually I just had to clearify that is it necessary to sort the elements row wise and column wise and its clear now…so thnx for the concern

1 Like

pls next time add the problem link in your query, so that it is easy for us to know about the problem you are taking about.
All the best.