https://www.geeksforgeeks.org/z-algorithm-linear-time-pattern-searching-algorithm/
https://www.youtube.com/watch?v=CpZh4eF8QBw
