An array π΄ of length π with distinct elements is said to be bitonic if thereβ¦
PYQ GATE 2025
An array π΄ of length π with distinct elements is said to be bitonic if there is an index 1 β€ π β€ π such that π΄[1. . π] is sorted in the non-decreasing order and π΄[π + 1 . . π] is sorted in the non-increasing order.
Which ONE of the following represents the best possible asymptotic bound for the worst-case number of comparisons by an algorithm that searches for an element in a bitonic array π΄?
- A.
Ξ(π)
- B.
Ξ(1)
- C.
Ξ(log2π)
- D.
Ξ(log π)
Attempted by 317 students.
Sign up free to check your answer
Sign up freeLoading lessonβ¦

