Staircase Search

Please tell the stopping criteria if the element is not found :

Hey @Sakshi2004

while(!found && i<row && j>=0){

https://ide.codingblocks.com/s/403538 But if element is not present it is not giving the intended answer. What is wrong here?

Check the condition which I told u and check what u have written