0 votes
in Other by

What is a queue in Data Structure?

1 Answer

0 votes
by
Queue in a data structure is an abstract data structure. In contrast to stack, where the queue is opened at both ends, one end is mainly used to insert data (enqueue), while the other to remove data (dequeue). Queue follows FIFO methodology, and the data item stored first will be accessed first.
...