J.P. Morgan Interview Question

KMP algorithm