public class KMP { private char[] source = {'a','b','c','b','c','a','b','a','b','d','d','e','f','g','h','i','j','a','b','c','a','b','a','b','d','a'}; private char[] target = {'a','b','c','a','b','a','b','d'}; private int[] getNextArray(char[] target)