GATE CS 2015, set 3 · Question 64 · Algorithms · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
Let f(n) = n and g(n) = n⁽¹⁺ˢⁱⁿⁿ⁾, where n is a positive integer. Which of the following statements is/are correct?
I. f(n) = O(g(n))
II. f(n) = Ω(g(n))
- (A) Only I
- (B) Only II
- (C) Both I and II
- (D) Neither I nor II
Answer
Answer (D)
Answer from the official GATE CS 2015 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes