Description Usage Arguments Value Examples
Motivated by HW1, realize KMP algorithm to find times of appearance of x in y, especially for quite long vectors matching
1 | kmp(x, y)
|
x |
a vector |
y |
a vector |
times of appearance of x
in y
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.