0

Possible Duplicate:
Is log(n!) = Θ(n·log(n))?

Wikipedia states that O(n*log(n)) = O(log(n!)). I don't quite get why. Can anybody explain or prove why it is that way?

Community
  • 1
  • 1
Konstantin Weitz
  • 6,180
  • 8
  • 26
  • 43
  • 3
    possible duplicate of [Is log(n!) = Θ(n·log(n))?](http://stackoverflow.com/questions/2095395/is-logn-nlogn) and [Lower bound for sorting by comparison](http://stackoverflow.com/questions/7233553/lowed-bound-for-sorting-by-comparison). – Raymond Chen Oct 21 '11 at 14:18

1 Answers1

1

Have a look at the page on Stirling's Approximation

acm
  • 12,183
  • 5
  • 39
  • 68