About 146,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 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, …

  3. Stacks | Brilliant Math & Science Wiki

    A stack is an abstract data type that places restrictions on where you can add and remove elements. A good analogy is to think of a stack as a stack of books; you can remove only the top book, and you can only add a new book on the top.

  4. Stack Definition & Meaning in DSA - GeeksforGeeks

    Jun 6, 2023 · Stacks are simple to implement and can be created using arrays, linked lists, or even dynamic memory allocation. Stacks are efficient in memory management as they only allocate memory for the elements that are currently in the stack.

  5. 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.

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

    Apr 12, 2025 · The stack data structure is a linear data structure that accompanies a principle known as LIFO (Last In First Out) or FILO (First In Last Out). Real-life examples of a stack are a deck of cards, piles of books, piles of money, and many more.

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

    In this tutorial, you will understand the working of Stack and it's implementations in Python, Java, C, and C++.

  8. 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 recursion, expression evaluation, and undo/redo functionality. What Is A Stack In Data Structure?

  9. Stack Data Structure - Studytonight

    Stack is an abstract data type with a bounded(predefined) capacity. Learn about stacks, its push() and pop() methods, its implementation, and the time/space complexity in this tutorial.

  10. Stack in data structure: A Comprehensive Overview - AK Coding

    A stack is a linear data structure that consists of a collection of elements arranged in a sequential order. The key operations on a stack are: Push: Adds an element to the top of the stack. Pop: Removes and returns the element from the top of the stack. Peek (Top): Returns the element at the top of the stack without removing it.

Refresh