If n is a power of 2, then the minimum number of multiplications needed to…

PYQ GATE 1999

If n is a power of 2, then the minimum number of multiplications needed to compute aⁿ is:

  1. A.

    log₂ n

  2. B.

    √n

  3. C.

    n - 1

  4. D.

    n

Attempted by 888 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…