A Quick Guide To Stacks In JavaScript
Understanding And Implementing Stacks
Nov 3 · 5 min read

What are Stacks?
Stacks are a way to structure data. They are based on the concept of LIFO (Last In First Out). They can be implemented in various ways (which will be covered later on) but the idea is that you have 2 ways of interacting with the data: push an element on top of the stack or remove an…


