text: If the strictly increasing condition is violated , then break
code: if ( arr [ i + 1 ] < arr [ i ] or arr [ i ] == arr [ i + 1 ] ) : NEW_LINE INDENT break NEW_LINE DEDENT i += 1 NEW_LINE if ( i == 0 or i == N - 1 ) : NEW_LINE return - 1 NEW_LINE