What is a stack? In our daily life, we may see several items in a stack. For example: stack of dishes, pancakes stacked on a plate, stones on a stick for Hanoi tower problem, stack of chairs, stack of books, etc. In programming language, stack is a data structure that has few interesting properties. Its [...]