About 142,000 results
Open links in new tab
  1. Stack (abstract data type) - Wikipedia

    Simple representation of a stack runtime with push and pop operations. In computer science, a stack is an abstract data type that serves as a collection of elements with two main operations: …

  2. Introduction to Stack Data Structure - GeeksforGeeks

    Sep 10, 2025 · Stack is a linear data structure that follows LIFO (Last In First Out) Principle, the last element inserted is the first to be popped out. It means both insertion and deletion …

  3. Stack Data Structure and Implementation in Python, Java and …

    A stack is a useful data structure in programming. It is just like a pile of plates kept on top of each other. In this tutorial, you will understand the working of Stack and it's implementations in …

  4. Stack Data Structure - Online Tutorials Library

    What is a Stack? A stack is a linear data structure where elements are stored in the LIFO (Last In First Out) principle where the last element inserted would be the first element to be deleted. A …

  5. Data Structures/Stacks and Queues - Wikibooks

    Nov 10, 2025 · There are basically three operations that can be performed on stacks. They are 1) inserting an item into a stack (push). 2) deleting an item from the stack (pop). 3) displaying the …

  6. DSA Stacks - W3Schools

    Stacks can be used to implement undo mechanisms, to revert to previous states, to create algorithms for depth-first search in graphs, or for backtracking. Stacks are often mentioned …

  7. Stack Data Structure | Complete Beginner’s Guide (2026)

    Jun 14, 2025 · In this tutorial series, you’ll not only learn how stacks work but also solve real-world problems using recursion, arrays, and linked lists. What is a Stack? A stack is a linear data …

  8. Stack in Data Structure: Operations, Implementation & Examples

    Oct 6, 2025 · Stack data structures operate using the LIFO method. LIFO stands for last-in, first-out. This principle is the basis of many computer science algorithms and methods of data …

  9. Stack Operations - Algorithm Room

    In this section, we’ll explain each Stack operation step by step, with real-life comparisons and clear algorithms to help you visualize the logic. Let’s break down the core operations that …

  10. Stack in Data Structures: Implementations in Java, Python, & C++

    Sep 23, 2025 · A stack in data structures is a linear collection that follows the Last In, First Out (LIFO) principle, where the last element added is the first to be removed. This structure is …