Stack is a data structure that collects data, but has specific operations. In the real world we have a lot of things that we consider a stack. For example: A stack of books, a deck of cards or a pile of plates, etc.
Read this article to understand Stack in depth
Have a doubt or thought? Join the discussion now
This is a companion discussion topic for the original entry at http://iq.opengenus.org/stack/