In this slide show I am showing you what is stack data structure and c++ source code if you want learn more about this you can go to below link and watch a video.
https://youtu.be/TU7kOW5KErc
2. Intro to
Stack
ADT(Abstract Data Structure).
Based on array.
Logically stack is linear structure.
Data stores in top of the previous one.
3. Pros andCons
Advantages(Pros) are
Insertion and deletion very quick.
Provides LIFO(Last In First Out).
Disadvantages are
We can not access every item in stack.
Fixed size.
Memory consuming.
4. WhereStack
are used?
Use to Implementing recursion
Return addresses are placed on a stack.
For reversing string.
Text Editors Undo/Redo feature.
Web browser recent visited.
14. Outro to
Stack • You can use Stack in any programming language.
• You can check out my Stack Implementation in java video
tutorial.
• Also Stack other videos(Stack using in projects, char data
type stack and etc.)
• And next video is Queue Data Structure.