algorithmz 1.2.8

This is the corresponding implemenation of the python module of the same name.
Documentation
1
2
3
4
5
6
7
use algorithmz::stack::slutter;

#[test]
fn test_slutter() {
    let result = slutter(vec![1,2,3]);
    assert_eq!(result, vec![1,1,2,2,3,3]);
}