Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. Stan Kelly-Bootle
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