Coding Bootcamp LFZ > data-structures-queues > Flashcards
What does the acronym FIFO mean?
First in first out
What methods are available on a Queue data structure?
Enqueue, dequeue, peek
What must you do to access the value at an arbitrary point in a queue (not just the “front”)?
You have to use the dequeue and enqueue methods to reach the values further in (can use loops)