Find a number is a row/column sorted array