Video:

Stacks Overview

April 2, 2021

Course Instructor: Elliot Forbes

Hey Gophers! My name is Elliot and I'm the creator of TutorialEdge and I've been working with Go systems for roughly 5 years now. Feel free to reach out to me on twitter - @Elliot_F

When it comes to stacks, I always try and picture a stack of pancakes when figuring out how they work.

They are very similar to Queues except they adhere to the LIFO access pattern - Last In First Out. If you add a pancake to the top of your stack of pancakes, the top pancake is the one you will eat first. The same goes for the stack data structure.

Quiz