Print remaining odds are even . and even elements
while ( i < size_odd ) { System . out . print ( odd . get ( i ) + " ▁ " ) ; ++ i ; } while ( j < size_even ) { System . out . print ( even . get ( j ) + " ▁ " ) ; } } }