Question: 5 Rabin-Karp and Wildcards (8 marks) Consider the Rabin-Karp algorithm. A wildcard token is a token that matches any character. Suppose that the length-m pattern

5 Rabin-Karp and Wildcards (8 marks) Consider the Rabin-Karp algorithm. A wildcard token is a token that matches any character. Suppose that the length-m pattern has a wildcard token at a given index j e 10,1,..m - 1). Describe how to modify the algorithm to find a match for this pattern
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
