you give array integer a_1 a_2 ldot a_n b_1 b_2 ldot b_myou need insert elements b arbitrary way as result array c_1 c_2 ldot c_nm size n mNote allow change order element insert elements b arbitrary position they insert begin element end Moreover element b appear result array orderwhat minimum possible number inversion result array c recall inversion pair indice j j c_i c_j