Have I properly sorted these runtimes in order of growth?

115 views Asked by At

I am doing this small task which I have to arrange asymptotic runtime in ascending order. Here are the runtimes:

enter image description here

Here is the order I believe they should go in:

log10(n^4), n^3, 2^((log4n)), 2^(100n), e^pi^4096, n! + 12^1000

Is this correct? Or are there any errors?

Thanks!

1

There are 1 answers

8
templatetypedef On BEST ANSWER

I don't believe that the ordering you've given here is correct. Here are a few things to think about:

  1. Notice that 2log4 n = 2(log2 n / log2 4) = 2(log2 n) / 2. Can you simplify this expression?
  2. How fast does the function eπ4096 grow as a function of n?

Hope this helps!