GATE CS 2012 · Question 18 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
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 ?
- (A) A(n) = Ω(W(n))
- (B) A(n) = Θ(W(n))
- (C) A(n) = O(W(n))
- (D) A(n) = o(W(n))
Answer
Answer (C)
Answer from the official GATE CS 2012 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes