Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does Big O notation represent?
Think about what happens as input size increases.
Is O(n) better than O(n^2)? Why?
Comparing growth rates can help clarify this.
Which of the following notations describes an upper bound for an algorithm's performance?
Remember the purpose of Big O notation.
True or False: Omega notation provides the maximum time complexity possible for an algorithm.
Think about what Omega notation signifies.
Demonstrate that any function f(n) = an^k + bn^(k-1) + ... + c is O(n^k) for any constants a, b, ..., c.
Examine what happens as n becomes very large.
Consider t(n) = 3n^3 + n; does it fulfill both Big O and Omega requirements for n^3?
Estimate t(n) for large n and compare to n^3.
4 more questions in this section. Enroll free to practise them all.
Enroll free