Which function grows faster, exponential or factorial?

devsathish picture devsathish · Jul 23, 2012 · Viewed 100.1k times · Source

Which function grows faster, exponential (like 2^n, n^n, e^n etc) or factorial (n!)? Ps: I just read somewhere, n! grows faster than 2^n.

Answer

Glen Hughes picture Glen Hughes · Jul 23, 2012

n! eventually grows faster than an exponential with a constant base (2^n and e^n), but n^n grows faster than n! since the base grows as n increases.