codezonediitj / pydatastructs

A python package for data structures and algorithms
https://pydatastructs.readthedocs.io/en/stable/
Other
200 stars 267 forks source link

Create stacks #500

Closed vinaya563 closed 2 years ago

vinaya563 commented 2 years ago

References to other Issues or PRs or Relevant literature

It fixes the issue number #499

Brief description of what is fixed or changed

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.

There are various ways from which a stack can be implemented in Python.

and one among those is mentioned in this issue