1,152 views

2 Answers

Best answer
4 votes
4 votes

This is false .

f(n) ≠  O(g(n)) since this is given so f(n) and g(n) cannot equal asymptoticaly.

so f(n) = n, g(n) = n so f(n) ≠  O(g(n)) satisfy

now  g(n)  =  O(f(n)) always i.e. n =O(n2)

selected by
1 votes
1 votes

False, take G(n) = 10 and F(n) = 100

Then, 100 != O(10) (TRUE)

but, 10 = O(100) (Also true, which it is saying in the question as false.)