The ___________ operation in queues removes an element from the front without returning it.

  • Dequeue
  • Enqueue
  • Front
  • Peek
The Peek operation in queues retrieves the element at the front of the queue without removing it. This is useful for checking the next element to be dequeued without actually dequeuing it from the queue.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *