Definition
- According to wikipedia, A queue is a particular kind of collection in which the entities in the collection are kept in order and the principal operations on the collection are the addition of entities to the rear terminal position and removal of entities from the front terminal position. [1] http://en.wikipedia.org/wiki/Queue_(data_structure)
- First-In-First-Out (FIFO) data structure- the first element added to the queue will be the first one to be removed. [1]
Illustration
No comments:
Post a Comment