Tagged articles

LIFO

2 articles · Page 1 of 1
liandk
liandk
Aug 29, 2026 · Fundamentals

Stack Basics: LIFO Explained with Real‑World Examples and Python Code

This article introduces the stack data structure, explains its LIFO principle with everyday analogies like browser back and undo, compares it to arrays and linked lists, provides a complete Python implementation, demonstrates a simple undo simulation, and highlights common pitfalls for beginners.

Interview PreparationLIFOPython
0 likes · 6 min read
Stack Basics: LIFO Explained with Real‑World Examples and Python Code
IT Services Circle
IT Services Circle
Jun 24, 2026 · Interview Experience

What Does a Stack Actually Remember in the Valid Parentheses Problem?

The article explains that a stack used for the valid‑parentheses interview question stores pending expectations rather than raw characters, why this LIFO structure is essential over a simple counter, and highlights common pitfalls and deeper follow‑up questions.

LIFOalgorithmdata structures
0 likes · 9 min read
What Does a Stack Actually Remember in the Valid Parentheses Problem?