Standard 1: Big-O and Complexity 1: Growth Rates


Short description: Sort functions by asymptotic growth rate. True/false: f = O(g), o(g), Omega(g), etc.

Relevant notes: Topic A: Big-O Notation and Complexity.

Full description

Given a collection of functions f(n), g(n), etc., state whether or not f = O(g), f = Omega(g), f = Theta(g), f = o(g), f = omega(g). Sort the collection by asymptotic growth rate from least growth rate to highest.

Example Problem

Part a. Let $f(n) = 3n^3 + 25$ and $g(n) = 20n^2 + 1$. Answer the following True/False:


Part b. Let:

Sort $f,g,h,w$ by asymptotic growth rate, from least growth rate to highest growth rate.

Sample Solution

Part a.
Part b.

$w, g, f, h$

Rubric

Rubric for both Parts.

All answers to both parts must be fully correct in order to pass the question.