🚀 Get 25% off access to all my premium courses - use discount code FUNCMAIN at checkout - view the pricing page now!

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.

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