jutils 0.5.0
Description
This version of jutils comes with a data structure implementation: the Stack.
Changelog
Stack()
jutils defines a stack as a first-in, last-out list of elements. All types supported by Python's intrinsic list
object are supported by Stack
. Users can use push()
to add one or many elements to a stack and pop()
to remove elements one-by-one. Stacks can be combined with other stacks with extend()
or simply by adding one to another. While there are multiple methods of adding elements to the stack, there is only one method for removing stack elements.