Can anyone please write a nice tutorial on suffix automaton , i tried my best to learn it from e-maxx and http://mirror.codeforces.com/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 ...