suppose that the starting position of the N string is found in the M string, and the length is m and n, respectively. Using the KMP algorithm, it is generally believed that the time complexity is O (m), that is, the time complexity of calculating the next array is O (n), and the matching time is O (m),. But in the matching, it is assumed that I is used to identify the position in M, j is used to identify the position in N, and I is understandably increased but not decreased. But j will also backtrack according to the next array, and it may backtrack many times, so why is the time complexity of matching not O (masked n)? Solve