- #1
Ad2d
- 9
- 0
Hello All, I need help making sure I am right about this. Say for example I have these two functions: f(n) = 2^n and g(n) = 3^n.
Now the order is O(2^n) and O(3^n) respectfuilly. Now I need make sure I am right about this: based on the order, O(2^n) < O(3^n) therefore f(n) < THETA(g(n)).
Is this statement correct here when I say f(n) < THETA(g(n)) and that O(2^n) < O(3^n)?
Now the order is O(2^n) and O(3^n) respectfuilly. Now I need make sure I am right about this: based on the order, O(2^n) < O(3^n) therefore f(n) < THETA(g(n)).
Is this statement correct here when I say f(n) < THETA(g(n)) and that O(2^n) < O(3^n)?
Last edited: