GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2025 set2

GATE 2025 set2 · CS · MCQ · 2 marks · Algorithms › Searching and Sorting

GATE 2025 set2 Computer Science and Information Technology question: An array A of length n with distinct elements is said to be bitonic if there is an index…

An array of length with distinct elements is said to be bitonic if there is an index such that is sorted in the non-decreasing order and 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 ?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: D

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion