About 4,810,000 results
Open links in new tab
  1. Implement Stack using Array - GeeksforGeeks

    Mar 21, 2025 · 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) …

  2. Array Implementation of Stacks | Baeldung on Computer Science

    Mar 18, 2024 · There are several possible implementations of the stack data structure, based on fixed-size arrays, dynamic arrays, and linked lists. In this tutorial, we’ll implement the stack …

  3. Implementation of Stack using Array — Data Structures

    Jan 25, 2024 · This implementation provides a foundational understanding of creating and performing operations on a stack using an array, showcasing the versatility and simplicity of …

  4. Implement a Stack in C Programming - GeeksforGeeks

    Nov 13, 2024 · In C, we can implement a stack using an array or a linked list. In this article, we will use the array data structure to store the stack elements and use a pointer to keep track of …

  5. 5.8. Stacks — CS3 Data Structures & Algorithms - Virginia Tech

    Apr 28, 2025 · Here is a complete implementation for the array-based stack class. As with any array-based implementation, stackArray must be declared of fixed size when the stack is …

  6. STACK (ARRAY-BASED IMPLEMENTATION) (Java, C++)

    Array-based stack implementation. Here we present the idea of stack implementation, based on arrays. We assume in current article, that stack's capacity is limited to a certain value and …

  7. Stack Implementation Using Array. - AlgoLesson

    Implementing a stack using an array is straightforward and requires minimum code compared to linked list implementations. Array-based stacks offer efficient access to elements using …

  8. Stack Implementation using Array in Java - JavaByTechie

    Jan 19, 2025 · In an array-based stack implementation, the push operation is implemented by incrementing the index of the top element and storing the new element at that index. The pop …

  9. Java Stack Implementation using Array - HowToDoInJava

    Mar 31, 2023 · This tutorial gives an example of implementing a Stack data structure using an Array. The stack offers to put new objects on the stack (push) and to get objects from the …

  10. Implementation of Stack Using Array in C - GeeksforGeeks

    May 31, 2024 · 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) …

  11. Some results have been removed
Refresh