Can anyone please write a nice tutorial of suffix automaton , i tried my best to learn it from e-maxx and http://codeforces.me/blog/entry/20861 , but couldn't understand it completely, it will be great for many if anyone could write a good tutorial on this topic. If u are too tired to write a tutorial please explain the construction done in the example taken by emaxx or any example u find suitable ...