algorithmz 1.2.6

This is the corresponding implemenation of the python module of the same name.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use algorithmz::stack::remove_min;

#[test]
fn test_remove_min_empty() {
    let result = remove_min(vec![]);
    assert_eq!(result, vec![]);
}

#[test]
fn test_remove_min() {
    let result = remove_min(vec![1,2,3,4,5]);
    assert_eq!(result, vec![2,3,4,5]);
}