Let F(n) denote the maximum number of comparisons made while searching for an entry in a sorted array of size π using binary search. Which ONE of the following options is TRUE?
F(n)=F(βn/2β)+1
F(n)=F(βn/2β)+F(βn/2β)
F(n)=F(βn/2β)
F(n)=F(n-1)+1
This question is part of this quiz :
GATE DA 2024,GATE DA Programming, Data structure and Algorithms Quiz