Search
Preparing search index...
The search index is not available
Data-Structures & Algorithms in TypeScript
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
3. Queue
Exports
1. Linked List
1.a. Linked List Node
2. Doubly Linked List
2.a. Doubly Linked List Node
3. Queue
4. Stack
5. Hash Table
6. Heap
7. Priority Queue
8.Trie
8.a TrieNode
BinaryTreeNode
dataStructures/9.Tree/BinarySearchTree/BinarySearchTree
utils/Comparator
Module 3. Queue
A queue is an abstract list of nodes which follows First-In-First-Out data structure or FIFO
In this data structure a node can be added to the list at the rear-terminal only, known as
Enqueue
and a node can be removed from the list at front-terminal only, known as
Dequeue
Example: Queue for tickets at movie theatre 🎦
Files:
Queue
|
Test
Classes
Queue
Queue
Files: Queue | Test