I think that everyone knows a few or less info about ” Stack ” . but I like to post a simple idea about Stack that can help you.
A Stack stores data using first-in, last – out ordering. Absolutely, a stack is likely a stack of plates on a table – that the first plate put down on the table and the last palte to be used. Stacks are controlled through two operations called as push and pop.