Skip to content

Commit 5111642

Browse files
authored
Update Stack.md
1 parent b4e343c commit 5111642

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Stack.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# Stack
12

3+
A stack is a linear data structure. It follows the last in first out approach. A new item is added at the top of a stack. Both insert and deletion operation is performed from one end of the stack.
4+
5+
There are two functions associated with stacks. Push function to add elements to the stack and pop function to remove elements from the stack.

0 commit comments

Comments
 (0)