Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. Stan Kelly-Bootle

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.


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


Posted by selvamselvam
December 7, 2015 10:28 am


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.