rabin_karp_search
Find all occurrences of a pattern in text using the Rabin-Karp rolling hash algorithm for substring matching.
Instructions
Find all occurrences of a pattern in text using the Rabin-Karp rolling hash algorithm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to search in | |
| pattern | Yes | Pattern to find |