Please enable JavaScript.
Coggle requires JavaScript to display documents.
STACK - Coggle Diagram
STACK
OPERATION IN STACK
-
-
-
-
-
-
-
-
- Pop (remove) item from stack
-
-
-
OPERATION -stack ofTray,Stack of Book
implementation of stack in real life -Parsing in a compiler, Java virtual machine, Undo in a word processor, Back button in Web browser, PostScript language for printers, Implementing function calls in a compiler, Sceduling Algorithm-LIFO
IMPLEMENT OF STACK - 1.Stack as array-1.fixed size stack, 2.Array Item, Top -2.Stack as Linked List-1.Dynamic Size, 2.Node : Data+Link, 3.Head
Stack-Linked list implementation- 1.A linked list is used to implement a stack dynamically(size grow or shrink)