If diff [ i ] is greater print it Else print diff [ j ]
if ( diff [ i ] > diff [ j ] ) { Console . Write ( arr [ i ] + " ▁ " ) ; i ++ ; } else { Console . Write ( arr [ j ] + " ▁ " ) ; j -- ; } k -- ; } }