Please enable JavaScript.
Coggle requires JavaScript to display documents.
CHAPTER 3 STACK - Coggle Diagram
CHAPTER 3 STACK
-
IMPLEMENTATION OF STACK:
-
STACK AS LINKED LIST: ( dynamic size,head)
-
-
STACK - LINKED LIST
declare stack- linked list, create a stack, push new item to stack)
DEFINE STACK :Data stucture in that consist of homogenous(element of the same type) and also collection of data in sequence arrangement
IMPLEMENTATION OF STACK IN REAL LIFE :-parsing in compiler,undo in a world processorand Sceduling Algorithm-LIFO.
POP ITEM FROM STACK (before pop operation can be done, check whether stack is empty or not)
-