algorithmz 1.0.7

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::map::longest_common_subsequence;

#[test]
fn test_longest_common_subsequence_success() {
    let result = longest_common_subsequence("abcdef","adcbef");
    assert_eq!(result, "ef");
}

#[test]
fn test_longest_common_subsequence_empty() {
    let result = longest_common_subsequence("abc","def");
    assert_eq!(result,"");
}