About 1,140,000 results
Open links in new tab
  1. Stack Data Structure - GeeksforGeeks

    Mar 27, 2025 · The Java Collection framework provides a Stack class, which implements a Stack data structure. The class is based on the basic principle of LIFO (last-in-first-out). Besides the …

  2. 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 …

  3. DSA Stacks - W3Schools

    Basic operations we can do on a stack are: Push: Adds a new element on the stack. Pop: Removes and returns the top element from the stack. Peek: Returns the top element on the …

  4. Basics of Stacks Tutorials & Notes | Data Structures - HackerEarth

    Detailed tutorial on Basics of Stacks to improve your understanding of Data Structures. Also try practice problems to test & improve your skill level.

  5. Stack Algorithm in Data Structures - Online Tutorials Library

    Stack operations are usually performed for initialization, usage and, de-initialization of the stack ADT. The most fundamental operations in the stack ADT include: push (), pop (), peek (), …

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

    Apr 5, 2025 · What is a Stack in Data Structures? A stack is an ordered list or we can say a container in which insertion and deletion can be done from the one end known as the top of …

  7. Stack In Data Structures | Operations, Uses & More (+Examples)

    In this article, we'll explore the concept of a stack, its operations (push, pop, peek, and isEmpty), its implementation using arrays and linked lists, and its real-world applications in areas like …

  8. What is Stack Data Structure? A Complete Tutorial

    Mar 6, 2025 · A stack is a data structure that follows the last-in, first-out(LIFO) principle. We can add or remove element only from one end called top. Scala has both mutable and immutable …

  9. Stack in Data Structure: What is Stack and Its Applications

    Apr 12, 2025 · Stacks in Data Structures is a linear type of data structure that follows the LIFO (Last-In-First-Out) principle and allows insertion and deletion operations from one end of the …

  10. Intro to Stacks – Data Structure and Algorithm Tutorial

    Mar 19, 2024 · Stacks are dynamic data structures that follow the Last In, First Out (LIFO) principle, where the last element added to the stack is the first one to be removed. This …