Data Structures : Stack Tutorial
47 بار بازدید -
6 سال پیش
-
What is Data structures
Stack
What is Data structures
Stack is a container of objects that are inserted and removed according to Last in First Out Principle.
Example for stack: Books of stack, coins of stack.
Operations Performed on Stack
Push PoP.
Push - It is used to insert items into the stack.
PoP - It is used to delete items from stack.
Top represents last item that was added in stack.
Algorithm for insertion in stack, Deletion in Stack Display in stack are explained.
Application of stack
To Reverse a string.
Conversio
6 سال پیش
در تاریخ 1397/03/07 منتشر شده
است.
47
بـار بازدید شده