Function to find a row in the given matrix using binary search
static int binaryCheck ( int [ , ] ar , int [ ] arr ) { int l = 0 , r = m - 1 ; while ( l <= r ) { int mid = ( l + r ) / 2 ; int temp = compareRow ( GetRow ( ar , mid ) , arr ) ;