Version 0.0.1
See all stdlib_rs's items
A Minimum Stack data structure. A minimum stack has O(1) appends and O(1) pops. As well, the Minimum stack returns the minimum element in the stack in O(1) time.
A queue implemented with two stacks.
Create a new min_stack with the elements inside the macro. Works like the vec![] macro.
vec![]
Create a new Queue with the elements inside the macro. Works like the vec![] macro.
Queue