add method in order to insert items into the data structure. I will look into other methods (search, delete…) some other time.
Linked Lists vs. Arrays
Just like a stack, a queue is a linear data structure. The difference is that whereas a stack utilizes “last in, first out” operations (LIFO), a queue operates according to a “first in, first out” pattern (FIFO). This is very much like a line at a deli, where the first customer in line gets served first.