Algorithm Analysis (CSC 301 2015F) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] [FAQ] [IRC] [Teaching & Learning]
Current: [Outline] [EBoard] [Reading] [Lab] [Assignment]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Readings]
Reference: [Algorist]
Related Courses: [Walker (2014F)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker]
Overview
We saw that the best we can do on a comparison-based sort was O(log(n!)) = O(log(2^(nlogn))) = O(nlogn)
Sam gave a mediocre proof that n! =~ 2^nlogn
We're going to prove something more directly relevant
log(n!) is in Theta(nlogn)
log(n!) is in O(nlogn)
log(n!) is in Omega(nlogn)
log(n!) is in O(nlogn)
log(n!) is in Omega(nlogn)
Problem! We cheated
Think about