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.4.tar.gz
(44.6 kB
view hashes)
Built Distribution
Close
Hashes for CyStack-0.1.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39f7f8329d951a5d8bcbaec2009e70273080fed8299b63943b26a8097326bd9d |
|
MD5 | 8182af052a6328a3bc8227e05f238c3a |
|
BLAKE2b-256 | ed1c0c8ae85172f40aea6c18b2b3bb7e774b5efb8374d828f6c5bcf13da00c16 |