Stack
A stack is a linear data structure that follows the first-in-last-out principle. This means the last element added to the stack will be the first one removed.
A stack is similar to an array, but in a stack, you control how data is added and removed.
...
learneasyway.hashnode.dev2 min read