If you find the title hard to read, it states: find two functions f(n) and g(n) such that neither f(n) = O(g(n)) nor g(n) = O(f(n)).
I just wrote down sin(n) and cos(n). Any thoughts?
If you find the title hard to read, it states: find two functions f(n) and g(n) such that neither f(n) = O(g(n)) nor g(n) = O(f(n)).
I just wrote down sin(n) and cos(n). Any thoughts?