X The Knuth-Morris-Pratt (KMP) algorithm is an string-matching algorithm. Its core is the pre-fix function. Given a pattern Pl1..m], the prefix function for the pattern P is the function π :{1,2,...,m} →{0,1.... .,m - 1}. What is π[7] for the following pattern P?__ (17)__
