Generate an array consisting of elements of the current column
int temp [ ] = new int [ N ] ; for ( int j = 0 ; j < N ; j ++ ) { temp [ j ] = arr [ j ] [ i ] ; } if ( ! checkReverseBitonic ( temp , N ) ) { System . out . print ( " No " + "NEW_LINE"); return ; } } System . out . print ( " Yes " ) ; }