What is Stack ?

No comments



Stack :-
A stack is an abstract data type, Which declares two methods PUSH and POP.
Stacks are implemented either by an array or by a link list. The PUSH operation allows us to insert data at the end of an array or linked list. The POP operation allows us to remove data from the end of an array or link list. Due to this behavior of PUSH and POP operation a stack is called a last in first out (LIFO) system.

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀