Stack in Python
Sep 30, 2021 · 3 min read · Introduction Stack is a linear data structure which follows principle of Last-In-First-Out(LIFO). Stack is also a dynamic data structure which do not have any fixed size. Stacks do not consume fixed amount of memory size. When we insert or pus...
Join discussion
