What is the next value of i0 (= position text that is aligned with the first character of the pattern string) when KMP detects a mismatch: (5 pts)
i0 = 0 | V 012345678901234567890 ababxabababababababab abababab |
What is the next value of i0 when KMP detects a mismatch: (5 pts)
i0 = 0 | V 012345678901234567890 ababxabababababababab ababcabab |
What is the next value of i0 when Boyer-Moore detects a mismatch: (5 pts)
i0 = 0 | V 012345678901234567890 ababcbababababababab abababab |
What is the next value of i0 when Boyer-Moore detects a mismatch: (5 pts)
i0 = 0 | V 012345678901234567890 ababcbcababababababab ababcabab |
What is the next value of i0 when Horspool detects a mismatch: (5 pts)
i0 = 0 | V 012345678901234567890 ababcbababababababab abababab |
What is the next value of i0 when Horspool detects a mismatch: (5 pts)
i0 = 0 | V 012345678901234567890 ababcbcababababababab ababcabab |