algorithmz 1.2.4

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

#[test]
fn test_rabin_karp() {
    let result = rabin_karp("abc", "zsnabckfkd");
    assert_eq!(result, Some(3));
}