Knuth-Morris-Pratt

Code of geeksforgeeks:
http://www.geeksforgeeks.org/searching-for-patterns-set-2-kmp-algorithm/
Counting Sort for integer arrays

Efficiency: O(N)
Counting Sort for strings