Which of the following operations on a queue data structure has a time complexity of O(1)? A) Enqueue B) Dequeue C) Peek D) Clear
A and B
B only
C only
A and D
This question is part of this quiz :