What is the worst-case number of arithmetic operations performed by recursive…

What is the worst-case number of arithmetic operations performed by recursive binary search on a sorted array of size n?

  1. A.

    θ(n)

  2. B.

    θ(√n)

  3. C.

    θ(log2(n))

  4. D.

    θ(n2)

Attempted by 41 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…