Stack - Data Structures & Algorithms Tutorials in Python
290 بار بازدید -
3 ماه پیش
-
In this video, we will
In this video, we will be implementing stack data structure and all its standard operations. We will implement stack using LinkedList in Python programming language.
Following are the stack operations -
1) push() -
Place an item onto the stack.
2) pop() -
Return the item at the top of the stack and then remove it. If pop is called when stack is empty, it is in an underflow state.
3) isEmpty() -
Tells if the stack is empty or not
4) display() - Display all the elements of the stack
3 ماه پیش
در تاریخ 1403/03/09 منتشر شده
است.
290
بـار بازدید شده