Quiz: Complexities of data structures
- Due No due date
- Points 3
- Questions 3
- Time limit None
- Allowed attempts Unlimited
Instructions
This quiz reviews the complexities of some data structures we have covered. In each case, you should determine if the operation takes (amortized) time O(1), O(log(n)), or O(n) in the size n of the data structure (choose the best possible bound).
Don't memorize the complexities. Instead, remember how each operation works (what makes the data structure "tick"). From this, you can always infer the complexity. And this quiz is just an indirect way for you to confirm that your understanding agrees with ours.
Only registered, enrolled users can take graded quizzes