Question: What is the average time complexity of accessing an element in a queue?
Options:
Correct Answer: O(1)
Solution:
Accessing the front element of a queue is done in constant time, O(1), as it does not require traversal.