Stacks
Stack is an ordered list where insertion and deletion can happen at only one end. Hence, it is known as Last In, First Out (LIFO) or First In, Last Out (FILO).
Insertion and deletion in stacks are called PUSH and POP respectively.
PEEK returns the ...
ashoksubbiah.in2 min read