P.S. Applied conditions given in " " is applicable on any(as per choice)
@Arjun Sir, Suppose array A has "a" elements and array B has "b" element and a>b
And if b >a then in this case no. of comparison would be 'a' times.
I think in the best case no. of comparison = min(a,b)
And in the worst case no. of comparison = max(a,b)
Please tell me sir where I am wrong.
X->YZ , Y->XZ , ...