Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrutiAgarwal31 authored Sep 4, 2022
1 parent f2c1691 commit 3d807b7
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Stacks/Readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
Concepts of Stack Data Structure.\
LIFO - Last in First Out.\
Only the top of the stack is the entry and the exit point.\
LIFO - Last in First Out.\
Only the top of the stack is the entry and the exit point.\
<br/>
Operations in Stack.\
Push - add element to the stack.\
Pop - remove element from the stack\
Peek - return the top element of the stack.\
isEmpty - Check whether the stack is empty or not.\
<br/>
Application:\
Reverse of a string.\
Expression evaluation such as infix, prefix, postfix.\
Tower of Hanoi.

0 comments on commit 3d807b7

Please sign in to comment.