Found in 2 comments on Hacker News
Rotundo · 2025-02-01 · Original thread
Part of your question is answered by Algorithms on Strings, by Crochemore, Hancard and Lecroq:

https://www.amazon.com/Algorithms-Strings-Maxime-Crochemore/...

In addition, I would recommend any thick book on Digital Signal Processing.

caustic · 2012-04-12 · Original thread
For those who want to learn more about this kind of algorithms on strings, there is a great book named, unsurprisingly, "Algorithms on Strings" (http://www.amazon.com/Algorithms-Strings-Maxime-Crochemore/d...).

Although I must admint, jogojapan has written a really clear and thoughtful explanation of Ukkonen's algorithm on stackoverflow, the best one I've ever read.

Fresh book recommendations delivered straight to your inbox every Thursday.