Assuming log is base 2, if I know that:
log $f(n) = O($log $g(n))$. Does this imply that $f(n) = O(g(n))$?
I understand that the converse is true.
Assuming log is base 2, if I know that:
log $f(n) = O($log $g(n))$. Does this imply that $f(n) = O(g(n))$?
I understand that the converse is true.
Copyright © 2021 JogjaFile Inc.
No. For example, $\log(n^2)=O(\log(n))$.