Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
What should be used instead of list for membership testing (in operator) on large collections in Python and why?
Auto Skip
Report Issue
A.
tuple should be used, it is faster
B.
set should be used; provides O(1) membership test with hash table
C.
sorted list should be used, speeds up with binary search
D.
list is the fastest membership test structure
Previous
Next