Avoided Words, Overabundant Words, Maximal Palindromes And Applicatons