The Failure (LPS) Array - KMP Algorithm — Failure Function & Matching | OneNoughtOne