Tag: running time of algorithm

Questions Related to running time of algorithm

Let w(n) and A(n) denote respectively, the worst case and average case running time of an algorithm executed on an input of size n. which of the following is ALWAYS TRUE?

  1. A(n) = $\Omega$ W(n)

  2. A(n) = $O$ W(n)

  3. A(n) = $\Theta$ W(n)

  4. A(n) = o W(n)


Correct Option: B