25% off

Use code FUNCMAIN at checkout for 25% off all premium courses.

Get started →

Stacks Overview

April 2, 2021
Elliot Forbes

Elliot Forbes

Course Instructor

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.

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