Abstract
A queue is a first in first out (FIFO) data structure which means first come first serve. It is also known as “waiting lines,” and as the name suggests, it can be easily imagined as a group of people waiting in a line (Figure 5-1).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Elshad Karimov
About this chapter
Cite this chapter
Karimov, E. (2020). Queue. In: Data Structures and Algorithms in Swift. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5769-2_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5769-2_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5768-5
Online ISBN: 978-1-4842-5769-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)