The number of comparisons required to find maximum and minimum in the given array of n- element using divide and conquer:
ciel(3n/2)
ciel(3n/2)+2
floor(3n/2)
floor(3n/2)-2
i have understood the recurrence relation for finding max and min using divide and conquer
i.e. T(n)=T(floor(n/2))+T(ceil(n/2))+2
but how to find the number of comparisons using this recurrence relation?