Computer Science, asked by raghunathkhatri7545, 1 year ago

What is the correct method used to insert and delete items from queue?

Answers

Answered by helsset
1

Solution:

In Stack it uses push to insert item into queue and pop while removing item from the queue. In Queue it uses enqueue in pushing item into queue and dequeue in removing item from queue. And in List it uses add while pushing item in queue  and remove while removing items from queue.

These are the right method used to insert and delete items.

Similar questions