COOLING:WA

I used merge sort in this by sorting the two input arrays and then comparing…can u give me more test cases pls…or find a flaw which i might have overlooked in the algorithm used.Thanks heres the code-------> http://ideone.com/qNPodR