KMP algorithm application
<p>when the kmp algorithm is applied on a pattern during preprocessing does the  array created starts with the value 0 or 1 if i starts with 1? I mean  the element if the pattern gets a value of 0 or 1 in the preprocessed array?</p>