- Hands-On Data Structures and Algorithms with JavaScript
- Kashyap Mukkamala
- 113字
- 2021-06-30 19:12:12
Types of queue
Before we begin understanding queues, let's quickly take a look at the types of queues that we may want to use in our applications:
- Simple queue: In a simple FIFO queue, the order is retained and data leaves in the same order in which it comes in
- Priority queue: A queue in which the elements are given a predefined priority
- Circular queue: Similar to a simple queue, except that the back of the queue is followed by the front of the queue
- Double ended queue (Dequeue): Similar to the simple queue but can add or remove elements from either the front or the back of the queue
推薦閱讀
- Mastering Visual Studio 2017
- Interactive Data Visualization with Python
- Unity 2020 Mobile Game Development
- Building Mapping Applications with QGIS
- 人人都是網站分析師:從分析師的視角理解網站和解讀數據
- Python機器學習實戰
- 用Flutter極速構建原生應用
- 量化金融R語言高級教程
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- SQL 經典實例
- Java網絡編程實戰
- Julia for Data Science
- 小型編譯器設計實踐
- Access 2010數據庫應用技術實驗指導與習題選解(第2版)
- Getting Started with Python