Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What does Big O notation represent?
Think about what happens as input size grows.
Give an example of a function that is O(n).
Consider linear functions.
What does Big O notation describe?
Think about the worst-case situation.
True or False: Omega notation represents an upper bound.
What does Omega represent?
Given the function t(n) = n² log(n), determine its Big O notation.
Consider dominant growth terms in polynomial expressions.
Prove that sorting algorithms based on comparison will always have a lower bound of Ω(n log n).
Think about the number of comparisons taken in worst-case scenarios.
7 more questions in this section. Enroll free to practise them all.
Enroll free