Stack ADT • A list for which Insert and Delete are allowed only at one end of the list (the top ) › LIFO – Last in, First out • isEmpty(); size() • Push: Insert element at top • Po p: Remove and return top • Top (aka peek): return top
Download the Study24x7 App, so you can connect and collaborate.