Print the required permutation
for ( int i = 1 ; i < L ; ++ i ) { Console . Write ( v1 [ j ] + " ▁ " ) ; j ++ ; } for ( int i = L ; i <= R ; ++ i ) { Console . Write ( v [ f ] + " ▁ " ) ; f ++ ; } for ( int i = R + 1 ; i <= N ; ++ i ) { Console . Write ( v1 [ j ] + " ▁ " ) ; j ++ ; } } return ; }