Custom Stack & Queue
Project description
CyStack
Installation
pip install CyStack
CyStack: Iterator
FILO Data Structure
- push: adds a value to the stack
- pop: removes and returns the newest value
- Implements:
__init__
: Takes any iterable__iter__
: Iterator__len__
: Size__str__
: String
CyQueue: Iterator
FIFO Data Structure
- push: adds a value to the queue
- pop: removes and returns the oldest value
- Implements:
__init__
: Takes any iterable__iter__
: Iterator__len__
: Size__str__
: String
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
CyStack-0.1.2.tar.gz
(44.5 kB
view hashes)
Built Distribution
Close
Hashes for CyStack-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35329bfe096a6cc0d3fdbd9335f47c8f974a449d6cd1caf9935a7dc555ca397d |
|
MD5 | aec38b1d41919c468ecf63cdcf069b30 |
|
BLAKE2b-256 | 0d5384d6566ccd7af783399ac2857a1916ad1a55c7485d2575788413a9311ff6 |