for eg if sequence 1 : <1,3,5> and sequence 2 : <2,6,8,11,12> than the result should be <1,2,3,6,5,8,11,12>
I tried to solve it using