A Quick Guide To Stacks In JavaScript

added by JavaScript Kicks
11/5/2019 8:09:13 AM


Understanding And Implementing 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 element from the top of the stack.