What does the acronym LIFO mean?
last-in-first-out
What methods are available on a Stack data structure?
pop( ),push( ),peek( )
What must you do to access the value at an arbitrary point in a stack (not just the “top”)?
a combination of pop, push and peek
DATA STRUCTURES QUEUES
<>
What does the acronym FIFO mean?
first in first out
What methods are available on a Queue data structure?
enqueue( ), dequeue( ), peek( ), print( )
What must you do to access the value at an arbitrary point in a queue (not just the “front”)?
combination of all the methods