Java:实现Knuth-Morris-Pratt算法
package com.williamfiset.algorithms.strings;
public class KMP {
// Given a pattern and a text kmp finds all the places that the pattern
// is found in the text (even overlapping pattern matches)
public static