*****NOTE: I'm not looking to find the Time Complexity, but I'm looking for number of comparisons and the answer is
3/2n -2
T(n) = 2T(n/2) +2
T(2) = 1
T(1) = 0
and I'm stuck at this point -
T(n)= 2k T(n/2k) + 2k+2k-1+ . . . +2
and I found out k = log n-1, but stuck at solving for k.