Algorithms Analysis and Design
CPSC 6109
Syllabus
Calendar
Misc.
Algorithm Analysis Exercises
Next >
Properties of Growth-rate Functions
Big-O:
Determine the Big-O of the growth functions below:
5N + 4
9N
2
+ 8N - 7
2 log N
3N log 4N
6*2
7N
3N! + 1/2*N
3
42
2*N
3
+ 999 * N
2
+ 123456789*N
Stuck? Plug in some numbers to get a better idea.
Rank the the preceding growth functions in ascending order based on their Big-O
Common Growth Rates:
Big-O
Names
Examples
Discuss with your neighbor(s) the Big-Os of Sequential Search and Binary Search
Sequential search: O( ) -
Binary Search: O( ) -