Online Inter College
Blog
Articles
Guides
Courses
Tools
Explore
Live
Search
Sign In
Get Started
← Question Bank
Python Essentials — Interview & Exam Set
Data Structures
Intermediate
MCQ
What is the time complexity of looking up a key in a Python dictionary on average?
Choose the correct answer:
A
O(n)
B
O(log n)
C
O(n log n)
D
O(1)
Click an option to reveal the answer.
Related Questions — Data Structures
Which data structure provides O(1) average-case lookup by key?
MCQ
·
Beginner
→