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

    Mar 27, 2025 · A stack is a linear data structure that stores items in a Last-In/First-Out (LIFO) or First-In/Last-Out (FILO) manner. In stack, a new element is added at one end and an element is removed from that end only.

  2. Stack Algorithm in Data Structures - 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 stack is an Abstract Data Type (ADT), that is popularly used in most programming languages.

  3. What is Stack Data Structure? A Complete Tutorial

    Mar 6, 2025 · A Stack is a linear data structure that follows a particular order in which the operations are performed. The order may be LIFO(Last In First Out) or FILO(First In Last Out). LIFO implies that the element that is inserted last, comes out first and FILO implies that the element that is inserted first

  4. 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 Python, Java, C, and C++.

  5. Implement Stack using Array - GeeksforGeeks

    Mar 21, 2025 · Stack is a linear data structure which follows LIFO principle. To implement a stack using an array, initialize an array and treat its end as the stack’s top. Implement push (add to end), pop (remove from end), and peek (check end) operations, handling cases for an empty or full stack. Step-by-step approach:

  6. Stack Data Structure Operations and Implementation

    What is stack data structure? A stack is considered to be a linear data structure because it is based on the principle of Last In First Out (LIFO). In a stack, elements are added and removed from the same end, called the top of the stack. The last element added to the stack is the first one to be removed, creating a linear order of elements.

  7. Intro to Stacks – Data Structure and Algorithm Tutorial

    Mar 19, 2024 · The course begins with an introduction to the stack data structure, explaining its LIFO nature and its analogy to a stack of plates. You'll learn about the basic operations of push (adding an item to the top), pop (removing the top item), and peek (viewing the top item without removing it), illustrated with Java examples:

  8. Stack Data Structure - Algorithm Room

    A Stack is a linear data structure that follows the Last In, First Out (LIFO) principle. The last element added to the stack will be the first one to be removed just like a stack of plates in your kitchen! In programming, stacks are widely used for:

  9. Stack Data Structure: Examples, Uses, Implementation, More

    Feb 27, 2025 · In computer science, the stack data structure helps manage data in various applications, from reversing strings to navigating browser history. Here, we'll learn everything about stack in data structure with example, how it works, and see implementation and applications. What is Stack Data Structure?

  10. Introduction to StackData Structures & Algorithms - Medium

    Jan 24, 2024 · In the realm of computer science, data structures play a pivotal role in organizing and managing data efficiently. One such fundamental and versatile data structure is the “Stack.”

Refresh