felipernb/algorithms.js — pull request #43 by tayllan (2014-06-04 23:23:17+00:00)
Title: Knuth-Morris-Pratt

KMP String Matching algorithm: https://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm.