Skip to content

Mohd063/stack-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Stack Using Array (Python)

Description

This project implements a Stack data structure using Python lists (arrays).
It allows runtime interaction with the user to perform operations such as:

  • push(x) → Insert an element into the stack
  • pop() → Remove the top element
  • peek() → View the top element
  • isEmpty() → Check if the stack is empty
  • size() → Get the number of elements in the stack
  • display() → Show the current stack

Requirements

  • Python 3.7 or higher

How to Run

  1. Clone the repository:
    git clone https://github.com/Mohd063/stack-array.git
    cd stack-array

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages