Memory Representation/Array Representation of Stack

No comments



Memory Representation/Array Representation of Stack :-
Stacks are abstract data types. They are implemented either by an array or by a linked list. In array representation a pointer or variable TOP is used to keep track of the stack. TOP is incremented when items are inserted into stack. It is decremented when items are removed from the stack. A variable N is used to store the maximum number of elements in the stack.

representation,memory,memory representation,array memory representation,memory representation of array,memory representation of array in hindi,array representation in memory
Fig - Memory/Array Representation of Stack


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 🎀