Embercode
✕
Time and Space ComplexityModule quiz

Time and Space Complexity: quiz

25 questions. Five questions at a time, with feedback after each set.

Questions 1 to 5 of 25

  1. 1. What is the Big-O of 7n^2 + 50n + 300?
  2. 2. Which notation describes a tight bound, growing exactly like f?
  3. 3. A loop for (i = 0; i < n; i++) runs how many times when n = 0?
  4. 4. What is the complexity of reading a[500] from an array?
  5. 5. Two separate loops, each running n times, one after the other. Complexity?

5 question(s) left on this page.