References
https://leetcode.com/problems/impleme...
• Knuth–Morris–Pratt(KMP) Pattern Matching(S...
• Knuth–Morris–Pratt (KMP) Pattern Matching ...
Similar question
https://leetcode.com/problems/shortes...
The lore behind KMP
• Donald Knuth - The Knuth-Morris-Pratt algo...