Describe Stacks and name a couple of places where stacks are useful.

Q

Describe Stacks and name a couple of places where stacks are useful.

✍: Guest

A

A Stack is a linear structure in which insertions and deletions are always made at one end, called the top. This updating policy is called last in, first out (LIFO). It is useful when we need to check some syntex errors, such as missing parentheses.

2012-04-17, 2764👍, 0💬