Suffix Trees(using Ukknonen's Algorithm)
KMP algorithm