What is the time complexity of offer() and poll() operations in a LinkedList-based queue?
O(n)
O(log n)
O(n log n)
O(1)
This question is part of this quiz :