Gradient LabSign up free

Home / GATE DA / 2024 / Q.40

GATE DA 2024, Q.40: Worst-case comparisons of binary search

Data structures and algorithmsBinary search recurrence2 marksMCQ

The question

F(n) is the maximum number of comparisons binary search makes on a sorted array of size n. Which is TRUE?

Checking your access…

Source: official GATE DA 2024 question paper and answer key (IISc Bengaluru). The question is lightly reworded; every number and option is kept.