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
  • 73,212
  • 30
  • 182
  • 400
Nicholas
  • 115
  • 7

0 Answers0