Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tianyishi2001/cs

Computing the Longest Common Substring
https://github.com/tianyishi2001/cs

Last synced: about 1 month ago
JSON representation

Computing the Longest Common Substring

Awesome Lists containing this project

README

        

# cs

Computing the (Longest) Common Substring

## Example

```rust
use cs::longest_common_substring
let lcs = longest_common_substring(&[
"ZYABCAGB",
"BCAGDTZYY",
"DACAGZZYSC",
"CAGYZYSAU",
"CAZYUCAGF",
]);
assert_eq!(lcs, "CAG");
```