0

I did max(logn , log((n^3) + 1) ) = O(log((n^3) +1)).

May I get verification is correct or not?

log(n^3) is a worser algorithm than logn because n^3 grows faster than n.

Raphael
  • 72,336
  • 29
  • 179
  • 389
Nicholas
  • 115
  • 7

0 Answers0