What does the acronym LIFO mean?
last in first out
What methods are available on a Stack data structure?
push, pop, peek
What must you do to access the value at an arbitrary point in a stack (not just the “top”)?
pop until…
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”)?
dequeue until…
How are linked lists different from an array?
sequential access
How would you access an arbitrary node in a linked list (not just the “head”)?
list.next(.next.next).data