GATE CS 2003 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0154

The cube root of a natural number n is defined as the largest natural number m such that \(m^{3}\leq n\). The complexity of computing the cube root of n(n is represented in binary notation) is
  1. A
    O(n) but not O(\(n^{0.5}\))
  2. B
    O(\(n^{0.5}\)) but not O(\((log \;n)^{k}\)) for any constant k \(>\) 0
  3. C
    O(\((log \;n)^{k}\)) for some constant k \(>\) 0, but not O(\((log \;log \; n)^{m}\)) for any constant m \(>\) 0
  4. D
    O(\((log \;log \; n)^{k}\)) for some constant k \(>\) 0.5, but not O(\((log \;log \; n)^{0.5}\))

Solve it on GATE DA practice →More Searching & Sorting Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/258/gate2003-66

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com