What is Queue ?
Queue :-
A queue is an abstract data type , is declares two methods –
QINSERT and QDELETE.
Queues are implemented either by an array or linked list. The QINSERT operation allows us to insert data at the end of an array or linked list. The QDELETE operation allows us to remove data from the beginning of an array or linked list. Due to this behavior of QINSERT and QDELETE operations, a queue is called a first in first out (FIFO) system.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment