1

0.0001*2^n + 10 * n^2 + 10000 * log(n) + 10000000

do we look at the highest exponent power?

The big O of this is O(n^2)? Am i right?

user193113
  • 65
  • 3
  • 8
  • I suggest taking a look here, might help you: http://stackoverflow.com/questions/3255/big-o-how-do-you-calculate-approximate-it – Rivasa Aug 16 '12 at 01:21
  • Take a look at this answer as well - http://stackoverflow.com/a/487278/41747 – D.Shawley Aug 16 '12 at 01:27

1 Answers1

4

The big O of this is O(n^2)? Am i right?

No, 2^n will be dominating over everything else, despite its tiny coefficient.

Sergey Kalinichenko
  • 714,442
  • 84
  • 1,110
  • 1,523