Give any two characteristics of stacks.
Answer
Characteristics of Stacks:
1. It is a LIFO data structure.
2. The insertion and deletion happen at one end i.e. from the top of the stack.
Give any two characteristics of stacks.
Characteristics of Stacks:
1. It is a LIFO data structure.
2. The insertion and deletion happen at one end i.e. from the top of the stack.