Answer :
Answer:
The answer is "[tex]\bold{T(n) = 2T(\frac{n}{2}) + n}[/tex]"
Explanation:
Given:
The Merge-And-Count of (A,B) runs in time |Al+IB|
T(n) recurrence=?
Calculating the value of the recurrence:
[tex]\to T(n) = T(\frac{n}{2}) + T(\frac{n}{2}) + f(|A| + |B|)\\\\ \therefore f(|A| + |B|) = n\\\\ \to T(n) = 2T(\frac{n}{2}) + n[/tex]