KMP Algorithm in DAA: LPS Array, Steps & Complexity | Hinglearn | HingLearn