What principle does a queue follow?
They follow a first in first out.
What are common uses for queues?
1 - Background tasks
2 - Uploading Resources
3 - Printing
What are ways to implement a queue?
You can implement a queue with an array and singly linked list.
How can we implement a queue with an array? What are the downsides?
You can use unshift to add a value and pop to remove the first value.
There is no way around indexing.
How would we create a queue with a singly linked list?
Implement it.
You want to add from the tail and remove from the head.