- O(n), also called linear time.
- O(log n), also called logarithmic time.
- O(n^2), also called quadratic time.
- O(1), also called constant time.
Correct Answer:
- O(1), also called constant time.
What is the runtime of accessing a value in a dictionary by using its key?
Correct Answer:
Latest Updates
No posts found in this category.