If debugging is the process of removing bugs, then programming must be the process of putting them in. Edsger W. Dijkstra

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.