Stack Data Structure ( Introduction)
In this video, we are going to start a new topic: Stack The 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). 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 were pushed. If the stack is empty, then it is said to be an Underflow condition. Peek or Top: Returns the top element of the stack. sEmpty: Returns true if the stack is empty, else false. In this video, youll also learn about asymptotic notations, they are basically mathematical notations which represent order of growth . .., ProgrammingKnowledge, DataStructuresAndAlgorithms, DataStructures, algorithm, Algorithms, AlgorithmsTutorial, DataStructuresTutorial, Arrays, Strings, Stacks 20220722 fShUFSqoc5o
|