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 - Study24x7
Social learning Network
16 Mar 2019 10:30 AM study24x7 study24x7

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

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles