Found in 1 comment on Hacker News
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.