D6 - Useful Complexity Case, log(n!) = Θ(nlogn)
Data Structures, Complexity
log(n!) = Θ(nlogn)
This is a useful case of complexity analysis to remember. log(n!) and nlogn has about the same growth rate. To prove it's true, we will show how both log(n!) = O(nlogn) and log(n!) = Ω(nlogn) are true.
l...
wadite.hashnode.dev2 min read