Coding Bootcamp LFZ > data-structures-stacks > Flashcards
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”)?
You have to use the pop method to reach the values further in (and can push those values back when needed)