link to question : https://www.codechef.com/problems/STRMRG
Link to my sol : https://ideone.com/5Eu0Mv
Need test case where my code fails?
For each element of str2,finding first element in str1 which is equal to element of str2
and inserting it there(say at position ‘p’) then for next element of str2 finding first element in str1 starting from p.
Similary doing it for str1.
Then finding min from two cases.