Pregunta de entrevista de Amazon

Find the longest repeated substring in a given string.