enqueue
RU: enqueue
To add an element to the rear of a queue. In a FIFO queue, enqueue inserts the new element at the back, to be dequeued last. Operation is O(1) with proper implementation (linked list or circular buffer).
RU: enqueue
To add an element to the rear of a queue. In a FIFO queue, enqueue inserts the new element at the back, to be dequeued last. Operation is O(1) with proper implementation (linked list or circular buffer).