Lowest Upper Bound means Smallest element in Upper Bound.
Let n=100.
No of Comparisions = 3(50) -2 = 148
We need t >=148 and for Lowest Upper Bound ,it should be in close range to 148.
- t>198
- t>150 and t<=198
- t>100 and t<=150
- t>7 and t<=100
So d is discarded. a,b,c are all satisfied if we only take t>=148 into consideration.
for Lowest Upper Bound ,it should be in close range to 148 => (100,150] is much closer compared to (150,198]
So C is the answer
Let n=99
Comparisions = 147 => t>=147
- t>196
- t>149 and t<=196
- t>99 and t<=149
- t>7 and t<=99
Still d is discarded. a,b,c are all satisfied if we only take t>=147 into consideration.
for Lowest Upper Bound ,it should be in close range to 148 => (99,149] is much closer compared to (149,196]
So C is the answer