Lesson 2 of 10 • 2 upvotes • 8:02mins
Stack is a linear data structure which follows a particular order in which the operations are performed. The order may be LIFO(Last In First Out) or FILO(First In Last Out). Mainly the following three basic operations are performed in the stack: Push: Adds an item in the stack. If the stack is full, then it is said to be an Overflow condition. Pop: Removes an item from the stack. The items are popped in the reversed order in which they are pushed. If the stack is empty, then it is said to be an Underflow condition. Peek or Top: Returns top element of stack. isEmpty: Returns true if stack is empty, else false.
10 lessons • 1h 41m
Course overview
7:16mins
Stack Introduction : Part I
8:02mins
Stack Introduction : Part II
8:30mins
Stack Implementation : Part I
13:44mins
Stack Implementation : Part II
10:32mins
Stack Implementation : Part III
11:10mins
Recursion : Part I
12:22mins
Recursion :Part II
10:01mins
Recursion Part-III
8:07mins
Infix, Prefix, and Postfix Expression
11:19mins