What is the time complexity of adding an element to the queue (enqueue…
PYQ CoCubes 2025
What is the time complexity of adding an element to the queue (enqueue operation)?
- A.
O(1)
- B.
O(n)
- C.
O(n log n)
- D.
O(n^2)
Attempted by 802 students.
Sign up free to check your answer
Sign up freeLoading lesson…

