algorithmz 1.0.3

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

#[test]
fn test_longest_palindromic_substring() {
    let result = longest_palindromic_substring("babad");
    assert_eq!(result, String::from("bab"));
}