The minimum number of comparisons required to determine if an integer appears more than n/2 times in a sorted array of n integers is
Θ(n)
Θ(logn)
Θ(n*logn)
Θ(1)
This question is part of this quiz :
Top MCQs on Array Data Structure with Answers,GATE CS 2008,Algorithms GATE CS PYQ Quiz,Complexity Analysis GATE CS PYQ Quiz