if a negative integer is found , then it is the first negative integer for current window . Print it , set the flag and break
if ( arr [ i + j ] < 0 ) { System . out . print ( ( arr [ i + j ] ) + " ▁ " ) ; flag = true ; break ; } }