What is stack ? Why is known as lofo ? Write algorithms for push and pop operation on stack?
Answers
Answered by
1
Explanation:
Stacks. A stack is a container of objects that are inserted and removed according to the last-in first-out (LIFO) principle. ... A stack is a limited access data structure - elements can be added and removed from the stack only at the top. push adds an item to the top of the stack, pop removes the item from the top. more I don't no
Similar questions
Math,
5 months ago
CBSE BOARD XII,
5 months ago
English,
5 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Math,
1 year ago
Physics,
1 year ago