String/rolling_hash library

Functions

rollingHashSearch(String text, String pattern) List<int>
Rolling Hash for Substring Matching (Rabin-Karp): Returns all start indices where pattern occurs in text. Uses a rolling hash (Rabin-Karp) to find all start indices where pattern occurs in text.