From 3d807b7981a020ab8d85eb07c01c664488ceb575 Mon Sep 17 00:00:00 2001 From: Shruti Agarwal <78465546+ShrutiAgarwal31@users.noreply.github.com> Date: Sun, 4 Sep 2022 14:55:42 +0530 Subject: [PATCH] Update Readme.md --- Stacks/Readme.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Stacks/Readme.md b/Stacks/Readme.md index b898e25..2d75644 100644 --- a/Stacks/Readme.md +++ b/Stacks/Readme.md @@ -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.\ +
+ 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.\ +
+ Application:\ + Reverse of a string.\ + Expression evaluation such as infix, prefix, postfix.\ + Tower of Hanoi. +