Skip to content

jutils 0.5.0

Compare
Choose a tag to compare
@JordanWelsman JordanWelsman released this 04 Mar 17:47
· 44 commits to main since this release

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.