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

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.

Author: on September 3, 2010
Category: C++ Interview Questions
  • Recently in C++ Interview Questions:

  • Recent questions

    Copy Protected by Send free sms - Love2sms.