Share on Google+Share on Google+
Stack
Posted on: May 7, 2010 at 12:00 AM
Advertisement
The stack is one of the most important data structures in computer science. A stack is a last-in first-out data structure (LIFO).

Stack Overview

Stack follows the rule of last in first out rule. Mainly two action are performed by stack one is push and other is pop. The last thing which we placed or push on stack is the first thing we can get when we pop. A stack is a list of element with insertion and deletion at one end only.

Below depict the operational behaviors of stack. You can see one thing that push and pop operation is done at one end and whatever element we keep on stack is shown at the top of stack.

Advertisement

Related Tags for Stack:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: May 7, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com