What is the time complexity of contains() operation in HashSet?
O(1)
O(n)
O(log n)
O(n log n)
This question is part of this quiz :