I want to find a function f(n) that is both O(n) and O(nlogn). I think f(n) can be f(n) = n. Is that true?

Printable View

- 01-27-2011, 10:23 AMbMorganAn algorithm problem
I want to find a function f(n) that is both O(n) and O(nlogn). I think f(n) can be f(n) = n. Is that true?

- 01-27-2011, 10:53 AMJosAH