The price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich may find hard to pay. C.A.R. Hoare

Stack Implementation

Language Java | Level Intermediate | Category Data structure | August 9, 2015 10:50 pm


Data structure Description

A stack is a basic data structure that insert and remove the items using last in first out (LIFO) strategy.


Output

   					 
Push :12
Push :9
Push :24
Pop :24
Pop :9
Pop :12				    

Comments


Posted by selvamselvam
December 7, 2015 10:28 am

test

Posted by gita.magani
April 20, 2016 3:41 pm

Please check the source code, it is for StockSpanProblem and not for Stack.


Please login to add comments.