Custom Stack & Queue
Project description
CyStack
CyStack is a small collection of FIFO and FILO data structures. In both cases the internal data structure is an std::vector.
Installation
pip install CyStack
CyStack: Iterator
Integer FILO Data Structure
- push: adds an int value to the stack
- pop: removes and returns the newest int value
- Implements:
__init__
: Takes any iterable__iter__
: Iterator__len__
: Size__str__
: String
CyQueue: Iterator
Integer FIFO Data Structure
- push: adds an int value to the queue
- pop: removes and returns the oldest int 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.5.tar.gz
(45.9 kB
view hashes)
Built Distribution
Close
Hashes for CyStack-0.1.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae797148d28b24895dfe7db634105d2fa271c47b99b64612e8e5fe185111b2a9 |
|
MD5 | 45d270ae8e7a2e4d8d9ca24ab85b054f |
|
BLAKE2b-256 | f9d9b24b9fcdf6bb0db3e5f9adcc753e01796bbc96c9731cc762bba8e88d1c59 |