Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is big O notation?
Think about how algorithms are compared in terms of efficiency.
What does it mean if a function is O(n^2)?
Consider how the input size influences the number of operations.
What does big O notation represent?
Think about how we measure algorithm efficiency.
If a function is Ω(g(n)), what does that mean?
Consider the implications of lower bounds.
Consider the recursive function t(n) = 2t(n/2) + n, apply the Master theorem to classify its complexity.
Identify constants a and b within the given relation.
Establish whether the function f(n) = n^2 + n + 1 is Θ(n²).
Use the definitions of big O and ω to prove both conditions.
5 more questions in this section. Enroll free to practise them all.
Enroll free